Techniques for Synchronization in Wireless Communications

ABSTRACT

This application discloses a synchronization signal sending method and a related device. The method includes: generating, a first synchronization signal sequence and a second synchronization signal sequence, where the first synchronization signal sequence is a sequence obtained based on a first m-sequence, the second synchronization signal sequence is a sequence obtained based on a Gold sequence, the Gold sequence is generated based on a second m-sequence and a third m-sequence, and a generator polynomial of the first m-sequence is the same as a generator polynomial of the second m-sequence; mapping, the first synchronization signal sequence onto M subcarriers in a first time unit to obtain a first synchronization signal, and mapping the second synchronization signal sequence onto M subcarriers in a second time unit to obtain a second synchronization signal, where M and N are positive integers greater than 1.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 16/411,804, filed on May 14, 2019, which is a continuation of International Application No. PCT/CN2018/085740, filed on May 4, 2018, which claims priority to Chinese Patent Application No. 201710309975.6, filed on May 4, 2017. All of the afore-mentioned patent applications are hereby incorporated by reference in their entireties.

TECHNICAL FIELD

This application relates to the communications field, and in particular, to a synchronization signal sending method, a synchronization signal receiving method, and a related device.

BACKGROUND

In a next-generation radio access network (new radio, NR), a downlink base station completes coarse downlink time and frequency synchronization by using a synchronization signal. The synchronization signal includes a primary synchronization signal (PSS) and a secondary synchronization signal (SSS). User equipment (UE) may receive the primary synchronization signal and the secondary synchronization signal, to implement synchronization and obtain cell identification information. The user equipment first detects the primary synchronization signal to determine a center frequency and basic time and frequency synchronization information or parts of cell identification information, and then obtains the cell identification information by using the secondary synchronization signal. Usually, there may be a small quantity of possible different primary synchronization signals, for example, three primary synchronization signals or one primary synchronization signal. The 3rd Generation Partnership Project (3GPP) discussed generation of a primary synchronization signal by using a longest linear feedback shift register sequence. In addition, a secondary synchronization signal may also be generated based on a scrambled m-sequence or a Gold sequence. The m-sequence is short for a longest linear shift register sequence. Usually, to distinguish between the primary synchronization signal and the secondary synchronization signal, a primary synchronization signal sequence and a secondary synchronization signal sequence are different.

In a fifth-generation mobile communications technology (5G), a length of a new synchronization signal sequence may be greater than or equal to a length of a synchronization signal sequence in Long Term Evolution (LTE). An orthogonal frequency division multiplexing technology (OFDM) is used to transmit a synchronization signal. That is, a primary synchronization signal sequence is mapped onto a subcarrier in an OFDM system that is allocated to a primary synchronization signal, and a secondary synchronization signal sequence is mapped onto a subcarrier in the OFDM system that is allocated to a secondary synchronization signal.

In an existing solution, the primary synchronization signal and the secondary synchronization signal occupy one OFDM symbol, and sizes of occupied bandwidths are the same and are N, where N is an integer, for example, 127. When a network device detects a primary synchronization signal, a secondary synchronization signal in another cell or in a local cell interferes with detection of the primary synchronization signal.

SUMMARY

Embodiments of this application provide a synchronization signal sending method and a synchronization signal receiving method, so as to reduce correlation between a secondary synchronization signal and a primary synchronization signal, and reduce interference to the primary synchronization signal.

A first aspect of an embodiment of this application provides a synchronization signal sending method. The method includes: generating, by a network device, a first synchronization signal sequence that is obtained based on a first m-sequence and a second synchronization signal sequence that is obtained based on a first Gold sequence, where the first Gold sequence is generated based on a second m-sequence and a third m-sequence, a generator polynomial of the first m-sequence is the same as a generator polynomial of the second m-sequence, and the first m-sequence, the second m-sequence, and the third m-sequence each have a length of N, where N is a positive integer greater than 1; mapping, by the network device, the first synchronization signal sequence onto M subcarriers in a first time unit to obtain a first synchronization signal, and mapping the second synchronization signal sequence onto M subcarriers in a second time unit to obtain a second synchronization signal, where M is a positive integer greater than 1; and sending, by the network device, the first synchronization signal and the second synchronization signal. In this embodiment of this application, the network device generates the first synchronization signal sequence and the second synchronization signal sequence that have a small correlation value, namely, a primary synchronization signal sequence and a secondary synchronization signal sequence, to reduce cross-correlation between a secondary synchronization signal and a primary synchronization signal, thereby reducing interference caused to a primary synchronization signal by a secondary synchronization signal in another cell or in a local cell.

In a first implementation of the first aspect in this embodiment of this application, the first synchronization signal sequence is a sequence obtained based on the first m-sequence, and the generator polynomial of the first m-sequence {c(n)|n=0,1,2, . . . , N−1} is g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), where 0≤i≤K, a_(K)=1, a₀=1, and K is a positive integer greater than or equal to 1; and the first synchronization signal sequence and the first m-sequence satisfy s(n)=1−2·c(n), n=0,1,2, . . . , N−1, c((n+K)mod N)=(Σ_(i=1) ^(K−1)a_(i)·c((n+i)mod N)+c(n))mod 2, n=0,1,2, . . . , N−K−1, where s(n) is the first synchronization signal sequence, and c(n) is the first m-sequence. The first synchronization signal sequence is limited in this embodiment of this application, thereby improving implementability and operability of this embodiment of this application.

In a second implementation of the first aspect in this embodiment of this application, the second synchronization signal sequence is a sequence obtained based on the first Gold sequence, the first Gold sequence is generated based on a second m-sequence {f₁(n)|n=0,1,2, . . . , N−1} and a third m-sequence {f₂(n)|n=0,1,2, . . . , N−1}, the generator polynomial of the second m-sequence is g₂(x)=Σ_(i=0) ^(K)b_(i)·x^(i), and a generator polynomial of the third m-sequence is g₃(x)=Σ_(i=0) ^(K)c_(i)·x^(i), where b_(K)=1, b₀=1, c_(K)=1, c₀=1, 0≤i≤K, and K is a positive integer greater than or equal to 1; and the first Gold sequence, the second m-sequence, and the third m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the second synchronization signal sequence, g_(m,k)(n) is the first Gold sequence, m is a relative shift value between the second sequence f₁(n) and the third sequence f₂(n), and k is a cyclic shift value. The second synchronization signal sequence is defined in this embodiment of this application, thereby improving implementability and operability of this embodiment of this application.

In a third implementation of the first aspect in this embodiment of this application, the second synchronization signal sequence satisfies y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), x₁(n)=1−2·f₁(n), x₂(n)=1−2·f₂(n), n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the second synchronization signal sequence, f₁(n) is the second m-sequence, and f₂(n) is the third m-sequence. It may be understood that x₁(n)=1−2·f₁(n) and x₂(n)=1−2·f₂(n) are substituted into y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), so as to learn that the second synchronization signal sequence y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·f₁((n+m+k)mod N)]·[1−2·f₂((n+k)mod N)]For simplicity, m+k may be denoted as k₁, that is, k₁=m+k. In this case, the second synchronization signal sequence y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·f₁((n+k₁)mod N)]·[1−2·f₂((n+k)mod N)], where n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, and k₁=0,1,2, . . . , 2(N−1). That is, n is an integer less than or equal to N−1, k is an integer less than or equal to N−1, and k₁ is an integer less than or equal to 2(N−1). Another condition that may be satisfied by the second synchronization signal is provided in this embodiment of this application, thereby increasing an implementation of this embodiment of this application.

A second aspect of an embodiment of this application provides a synchronization signal receiving method. The method includes: receiving, by user equipment, a first receive signal and a second receive signal; generating, by the user equipment, local synchronization signal sequences, where the local synchronization signal sequences includes a first local synchronization signal sequence and a second local synchronization signal sequence, the first local synchronization signal sequence is a sequence obtained based on a first m-sequence, the second local synchronization signal sequence is a sequence obtained based on a first Gold sequence, the first Gold sequence is generated based on a second m-sequence and a third m-sequence, a generator polynomial of the first m-sequence is the same as a generator polynomial of the second m-sequence, and the first m-sequence, the second m-sequence, and the third m-sequence each have a length of N, where N is a positive integer greater than 1; and processing, by the user equipment, the first receive signal and the second receive signal based on the local synchronization signal sequence. In this embodiment of this application, the user equipment processes the first receive signal and the second receive signal respectively by using the generated first local synchronization signal sequence and second local synchronization signal sequence that have a small correlation value, that is, the user equipment processes the first reception signal and the second reception signal respectively by using a local primary synchronization signal sequence and a local secondary synchronization signal sequence that have a small correlation value, to reduce a probability of false detection of a local secondary synchronization signal and a local primary synchronization signal, thereby improving performance of detecting the first receive signal and the second receive signal.

In a first implementation of the second aspect in this embodiment of this application, the processing, by the user equipment, the first receive signal and the second receive signal based on the local synchronization signal sequence includes: performing, by the user equipment, correlation processing on the first receive signal based on the first local synchronization signal sequence; and performing, by the user equipment, correlation processing on the second receive signal based on the second local synchronization signal sequence. A process of processing the first receive signal and the second receive signal is refined in this embodiment of this application, thereby perfecting steps in this embodiment of this application.

In a second implementation of the second aspect in this embodiment of this application, the performing, by the user equipment, correlation processing on the first receive signal based on the first local synchronization signal sequence includes: performing, by the user equipment, correlation processing on the first receive signal based on the first local synchronization signal sequence, where the first local synchronization signal sequence is the sequence obtained based on the first m-sequence, and the generator polynomial of the first m-sequence {c(n)|n=0,1,2, . . . , N−1} is g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), where a_(K)=1, a₀=1, K is a positive integer greater than or equal to 1, and 0≤i≤K; and the first local synchronization signal sequence and the first m-sequence satisfy s(n)=1−2·c(n), n=0,1,2, . . . , N−1, c((n+K)mod N)=(Σ_(i=1) ^(K−1)a_(i)·c((n+i)mod N)+c(n))mod 2, n=0,1,2, . . . , N−K−1, where s(n) is the first local synchronization signal sequence, and c(n) is the first m-sequence. The first local synchronization signal sequence is limited in this embodiment of this application, thereby improving implementability and operability of this embodiment of this application.

In a third implementation of the second aspect in this embodiment of this application, the performing, by the user equipment, correlation processing on the second receive signal based on the second local synchronization signal sequence includes: performing, by the user equipment, correlation processing on the second receive signal based on the second local synchronization signal sequence, where the second local synchronization signal sequence is the sequence obtained based on the first Gold sequence, the first Gold sequence is generated based on a second m-sequence {f₁(n)|n=0,1,2, . . . , N−1} and a third m-sequence {f₂(n)|n=0,1,2, . . . , N−1}, the generator polynomial of the second m-sequence is g₂(x)=Σ_(i=0) ^(K)b_(i)·x^(i), and a generator polynomial of the third m-sequence is g₃(x)=Σ_(i=0) ^(K)c_(i)·x^(i), where b_(K)=1, b₀=1, c_(K)=1, c₀=1, K is a positive integer greater than or equal to 1, and 0≤i≤K; and the first Gold sequence, the second m-sequence, and the third m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the second synchronization signal sequence, g_(m,k)(n) is the first Gold sequence, m is a relative shift value between the sequence f₁(n) and the sequence f₂(n), and k is a cyclic shift value. The first local synchronization signal sequence is limited in this embodiment of this application, thereby improving implementability and operability of this embodiment of this application.

In a fourth implementation of the second aspect in this embodiment of this application, the second local synchronization signal sequence satisfies y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), x₁(n)=1−2·f₁(n), x₂(n)=1−2·f₂(n), n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the second local synchronization signal sequence, f₁(n) is the second m-sequence, and f₂(n) is the third m-sequence. It may be understood that x₁(n)=1−2·f₁(n) and x₂(n)=1−2·f₂(n) are substituted into y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), so as to learn that y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·f₁((n+m+k)mod N)]·[1−2·f₂((n+k)mod N)]. For simplicity, m+k may be denoted as k₁, that is, k₁=m+k. In this case, y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·f₁((n+k₁)mod N)]·[1−2·f₂((n+k)mod N)], where n=0,1, . . . , N−1, k is an integer less than or equal to N−1, and k₁ is an integer less than or equal to 2(N−1). Another condition that may be satisfied by the second local synchronization signal is provided in this embodiment of this application, thereby increasing an implementation of this embodiment of this application.

A third aspect of an embodiment of this application provides a synchronization signal sending method. The method includes: generating, by a network device, a first synchronization signal sequence and a second synchronization signal sequence, where the first synchronization signal sequence is a sequence obtained based on a first Gold sequence, the first Gold sequence is a sequence generated based on a first m-sequence and a second m-sequence, the second synchronization signal sequence is a sequence obtained based on a second Gold sequence, the second Gold sequence is a sequence generated based on a third m-sequence and a fourth m-sequence, generator polynomials of the first m-sequence and the third m-sequence are the same, generator polynomials of the second m-sequence and the fourth m-sequence are the same, a relative shift value between the first m-sequence and the second m-sequence is m₁, a relative shift value between the third m-sequence and the fourth m-sequence is m₂, m₁≠m₂(mod N), and the first m-sequence, the second m-sequence, the third m-sequence, and the fourth m-sequence each have a length of N; mapping, by the network device, the first synchronization signal sequence onto M subcarriers in a first time unit to obtain a first synchronization signal, and mapping the second synchronization signal sequence onto M subcarriers in a second time unit to obtain a second synchronization signal, where M and N are positive integers greater than 1; and sending, by the network device, the first synchronization signal and the second synchronization signal. In this embodiment of this application, the network device generates the first synchronization signal sequence and the second synchronization signal sequence that have a small correlation value, namely, a primary synchronization signal sequence and a secondary synchronization signal sequence, to reduce cross-correlation between a secondary synchronization signal and a primary synchronization signal, thereby reducing interference caused to a primary synchronization signal by a secondary synchronization signal in another cell or in a local cell.

In a first implementation of the third aspect in this embodiment of this application, the first synchronization signal sequence is the sequence obtained based on the first Gold sequence, the first Gold sequence is the sequence generated based on a first m-sequence f₁(n) and a second m-sequence f₂(n), the second synchronization signal sequence is the sequence obtained based on the second Gold sequence, the second Gold sequence is generated based on a third m-sequence f₃(n) and the fourth m-sequence f₄(n), and the first Gold sequence, the first m-sequence, and the second m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, where y_(m,k)(n) is the first synchronization signal sequence, g_(m,k)(n) is the first Gold sequence, and the relative shift value between the first m-sequence and the second m-sequence is m₁. The second Gold sequence, the third m-sequence, and the fourth m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₃((n+m+k)mod N)+f₄((n+k)mod N))mod 2, where y_(m,k)(n) the second synchronization signal sequence, g_(m,k)(n) is the second Gold sequence, and the relative shift value between the third m-sequence and the fourth m-sequence is m₂, where n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, and k is a cyclic shift value. The generator polynomials of the first m-sequence and the third m-sequence are the same and are g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), a_(K)=1, a₀=1, the generator polynomials of the second m-sequence and the fourth m-sequence are the same and are g₂(x)=Σ_(i=0) ^(K)b_(i)·x^(i), b_(K)=1, b₀=1, and m₁≠m₂(mod N) is satisfied. The first synchronization signal sequence and the second synchronization signal sequence are limited in this embodiment of this application, thereby improving implementability and operability of this embodiment of this application.

In a second implementation of the third aspect in this embodiment of this application, the first synchronization signal sequence satisfies y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), x₁(n)=1−2·f₁(n), x₂(n)=1−2·f₂(n), n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the first synchronization signal sequence, f₁(n) is the first m-sequence, and f₂(n) is the second m-sequence. It may be understood that x₁(n)=1−2·f₁(n) and x₂(n)=1−2·f₂(n) are substituted into y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), so as to learn that the first synchronization signal sequence y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·f₁((n+m+k)mod N)]·[1−2·f₂((n+k)mod N)]. For simplicity, m+k may be denoted as k₁, that is, k₁=m+k. In this case, the first synchronization signal sequence y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·f₁((n+k₁)mod N)]·[1−2·f₂((n+k)mod N)], where n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, and k₁=0,1,2, . . . , 2(N−1). That is, n is an integer less than or equal to N−1, k is an integer less than or equal to N−1, and k₁ is an integer less than or equal to 2(N−1). Another condition that may be satisfied by the first synchronization signal is provided in this embodiment of this application, thereby increasing an implementation of this embodiment of this application.

A fourth aspect of an embodiment of this application provides a synchronization signal receiving method. The method includes: receiving, by user equipment, a first receive signal and a second receive signal; generating, by the user equipment, local synchronization signal sequences, where the local synchronization signal sequence includes a first local synchronization signal sequence and a second local synchronization signal sequence, the first local synchronization signal sequence is a sequence obtained based on a first Gold sequence, the first Gold sequence is a sequence generated based on a first m-sequence and a second m-sequence, the second local synchronization signal sequence is a sequence obtained based on a second Gold sequence, the second Gold sequence is a sequence generated based on a third m-sequence and a fourth m-sequence, generator polynomials of the first m-sequence and the third m-sequence are the same, and generator polynomials of the second m-sequence and the fourth m-sequence are the same, where a relative shift value between the first m-sequence and the second m-sequence is m₁, a relative shift value between the third m-sequence and the fourth m-sequence is m₂, m₁≠m₂(mod N), the first m-sequence, the second m-sequence, the third m-sequence, and the fourth m-sequence each have a length of N, and N is a positive integer greater than 1; and processing, by the user equipment, the first receive signal and the second receive signal based on the local synchronization signal sequence. In this embodiment of this application, the user equipment processes the first receive signal and the second receive signal respectively by using the generated first local synchronization signal sequence and second local synchronization signal sequence that have a small correlation value, that is, the user equipment processes the first reception signal and the second reception signal respectively by using a local primary synchronization signal sequence and a local secondary synchronization signal sequence, to reduce a probability of false detection of a local secondary synchronization signal and a local primary synchronization signal, thereby improving performance of detecting the first receive signal and the second receive signal.

In a first implementation of the fourth aspect in this embodiment of this application, the first local synchronization signal sequence is the sequence obtained based on the first Gold sequence, the first Gold sequence is the sequence generated based on a first m-sequence f₁(n) and a second m-sequence f₂(n), the second local synchronization signal sequence is the sequence obtained based on the second Gold sequence, the second Gold sequence is the sequence generated based on a third m-sequence f₃(n) and a fourth m-sequence f₄(n), and the first Gold sequence, the first m-sequence, and the second m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, where g_(m,k)(n) is the first Gold sequence, y_(m,k)(n) is the first synchronization signal sequence, and the relative shift value between the first m-sequence and the second m-sequence is m₁. The second Gold sequence, the third m-sequence, and the fourth m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₃((n+m+k)mod N)+f₄((n+k)mod N))mod 2, where y_(m,k)(n) is the second synchronization signal sequence, g_(m,k)(n) is the second Gold sequence, and the relative shift value between the third m-sequence and the fourth m-sequence is m₂, where n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, and k is a cyclic shift value. The generator polynomials of the first m-sequence and the third m-sequence are the same and are g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), a_(K)=1, a₀=1, the generator polynomials of the second m-sequence and the fourth m-sequence are the same and are g₂(x)=Σ_(i=0) ^(K)b_(i)·x^(i), b_(K)=1, b₀=1, and m₁≠m₂(mod N) is satisfied. The first local synchronization signal sequence and the second local synchronization signal sequence are limited in this embodiment of this application, thereby improving implementability and operability of this embodiment of this application.

In a second implementation of the fourth aspect in this embodiment of this application, the first local synchronization signal sequence satisfies y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), x₁(n)=1−2·f₁(n), x₂(n)=1−2·f₂(n), n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the first local synchronization signal sequence, f₁(n) is the first m-sequence, and f₂(n) is the second m-sequence. It may be understood that x₁(n)=1−2·f₁(n) and x₂(n)=1−2·f₂(n) are substituted into y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), so as to learn that the first local synchronization signal sequence y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·f₁((n+m+k)mod N)]·[1−2·f₂((n+k)mod N)]. For simplicity, m+k may be denoted as k₁, that is, k₁=m+k. In this case, the first local synchronization signal sequence y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·f₁((n+k₁)mod N)]·[1−2·f₂((n+k)mod N)], where n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, and k₁=0,1,2, . . . , 2(N−1). That is, n is an integer less than or equal to N−1, k is an integer less than or equal to N−1, and k₁ is an integer less than or equal to 2(N−1). Another condition that may be satisfied by the first local synchronization signal is provided in this embodiment of this application, thereby increasing an implementation of this embodiment of this application.

A fifth aspect of an embodiment of this application provides a synchronization signal sending method. The method includes: generating, by a network device, a first synchronization signal sequence and a second synchronization signal sequence, where the second synchronization signal sequence is a sequence obtained based on a first m-sequence and a second m-sequence, a relative shift value between the first m-sequence and the second m-sequence is m, a cyclic shift value is p, a value range of p does not include a cyclic shift value k strongly correlated to the first synchronization signal sequence, and the first m-sequence and the second m-sequence each have a length of N; mapping, by the network device, the first synchronization signal sequence onto M subcarriers in a first time unit to obtain a first synchronization signal, and mapping the second synchronization signal sequence onto M subcarriers in a second time unit to obtain a second synchronization signal, where M and N are positive integers greater than 1; and sending, by the network device, the first synchronization signal and the second synchronization signal. In this embodiment of this application, the network device generates the first synchronization signal sequence and the second synchronization signal sequence that have a small correlation value, namely, a primary synchronization signal sequence and a secondary synchronization signal sequence, to reduce cross-correlation between a secondary synchronization signal and a primary synchronization signal, thereby reducing interference caused to a primary synchronization signal by a secondary synchronization signal in another cell or in a local cell.

In a first implementation of the fifth aspect in this embodiment of this application, the second synchronization signal sequence may be a Gold sequence, and the Gold sequence is a sequence generated based on a first m-sequence f₁(n) and a second m-sequence f₂(n), and satisfies y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the second synchronization signal sequence, g_(m,k)(n) is the Gold sequence, and f₁(n) and f₂(n) are m-sequences. The second synchronization signal sequence is limited in this embodiment of this application, thereby improving implementability and operability of this embodiment of this application.

A sixth aspect of an embodiment of this application provides a synchronization signal receiving method. The method includes: receiving, by user equipment, a first receive signal and a second receive signal; generating, by the user equipment, local synchronization signal sequences, where the local synchronization signal sequences includes a first local synchronization signal sequence and a second local synchronization signal sequence, the second local synchronization signal sequence is a sequence obtained based on a first m-sequence and a second m-sequence, a relative shift value between the first m-sequence and the second m-sequence is m, a cyclic shift value is p, a value range of p does not include a cyclic shift value k strongly correlated to the first synchronization signal sequence, the first m-sequence and the second m-sequence each have a length of N, and N is a positive integer greater than 1; and processing, by the user equipment, the first receive signal and the second receive signal based on the local synchronization signal sequence. In this embodiment of this application, the user equipment processes the first receive signal and the second receive signal respectively by using the generated first local synchronization signal sequence and second local synchronization signal sequence that have a small correlation value, that is, the user equipment processes the first reception signal and the second reception signal respectively by using a local primary synchronization signal sequence and a local secondary synchronization signal sequence, to reduce a probability of false detection of a local secondary synchronization signal and a local primary synchronization signal, thereby improving performance of detecting the first receive signal and the second receive signal.

In a first implementation of the sixth aspect in this embodiment of this application, the second local synchronization signal sequence may be a Gold sequence, and the Gold sequence is generated based on a first m-sequence f₁(n) and a second m-sequence f₂(n), and satisfies y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the second local synchronization signal sequence, g_(m,k)(n) is the Gold sequence, and f₁(n) and f₂(n) are m-sequences. The second local synchronization signal sequence is limited in this embodiment of this application, thereby improving implementability and operability of this embodiment of this application.

A seventh aspect of an embodiment of this application provides a network device. The network device includes: a generation unit, a mapping unit and a sending unit. The generation unit is configured to generate a first synchronization signal sequence and a second synchronization signal sequence. The first synchronization signal sequence is a sequence obtained based on a first m-sequence. The second synchronization signal sequence is a sequence obtained based on a first Gold sequence. The first Gold sequence is generated based on a second m-sequence and a third m-sequence. A generator polynomial of the first m-sequence is the same as a generator polynomial of the second m-sequence. The first m-sequence, the second m-sequence, and the third m-sequence each have a length of N. The mapping unit is configured to map the first synchronization signal sequence onto M subcarriers in a first time unit to obtain a first synchronization signal, and map the second synchronization signal sequence onto M subcarriers in a second time unit to obtain a second synchronization signal, where M and N are positive integers greater than 1. The sending unit is configured to send the first synchronization signal and the second synchronization signal. In this embodiment of this application, the network device generates the first synchronization signal sequence and the second synchronization signal sequence that have a small correlation value, namely, a primary synchronization signal sequence and a secondary synchronization signal sequence, to reduce cross-correlation between a secondary synchronization signal and a primary synchronization signal, thereby reducing interference caused to a primary synchronization signal by a secondary synchronization signal in another cell or in a local cell.

In a first implementation of the seventh aspect in this embodiment of this application, the first synchronization signal sequence is the sequence obtained based on the first m-sequence, and the generator polynomial of the first m-sequence {c(n)|n=0,1,2, . . . , N−1} is g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), where a_(K)=1, a₀=1, K is a positive integer greater than or equal to 1, and 0≤i≤K. The first synchronization signal sequence and the first m-sequence satisfy s(n)=1−2·c(n), n=0,1,2, . . . , N−1, c((n+K)mod N)=(Σ_(i=1) ^(K−1)a_(i)·c((n+i)mod N)+c(n))mod 2, n=0,1,2, . . . , N−K−1, where s(n) is the first synchronization signal sequence, and c(n) is the first m-sequence. The first synchronization signal sequence is limited in this embodiment of this application, thereby improving implementability and operability of this embodiment of this application.

In a second implementation of the seventh aspect in this embodiment of this application, the second synchronization signal sequence is a sequence obtained based on the first Gold sequence, the first Gold sequence is generated based on a second m-sequence {f₁(n)|n=0,1,2, . . . , N−1} and a third m-sequence {f₂(n)|n=0,1,2, . . . , N−1}. The generator polynomial of the second m-sequence is g₂(x)=Σ_(i=0) ^(K)b_(i)·x^(i), and a generator polynomial of the third m-sequence is g₃(x)=Σ_(i=0) ^(K)c_(i)·x^(i), where b_(K)=1, b₀=1, c_(K)=1, c₀=1, K is a positive integer greater than or equal to 1, and 0≤i≤K. The first Gold sequence, the second m-sequence, and the third m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the second synchronization signal sequence, g_(m,k)(n) is the first Gold sequence, m is a relative shift value between the sequence f₁(n) and the sequence f₂(n), and k is a cyclic shift value. The second synchronization signal sequence is limited in this embodiment of this application, thereby improving implementability and operability of this embodiment of this application.

In a third implementation of the seventh aspect in this embodiment of this application, the second synchronization signal sequence satisfies y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), x₁(n)=1−2·f₁(n), x₂(n)=1−2·f₂(n), n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the second synchronization signal sequence, f₁(n) is the second m-sequence, and f₂(n) is the third m-sequence. It may be understood that x₁(n)=1−2·f₁(n) and x₂(n)=1−2·f₂(n) are substituted into y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), so as to learn that the second synchronization signal sequence y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·(f₁(n+m+k)mod N)]·[1−2·(f₂(n+k)mod N)]. For simplicity, m+k may be denoted as k₁, that is, k₁=m+k. In this case, the second synchronization signal sequence y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·f₁((n+k₁)mod N)]·[1−2·f₂((n+k)mod N)], where n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, and k₁=0,1,2, . . . , 2(N−1). That is, n is an integer less than or equal to N−1, k is an integer less than or equal to N−1, and k₁ is an integer less than or equal to 2(N−1). Another condition that may be satisfied by the second synchronization signal is provided in this embodiment of this application, thereby increasing an implementation of this embodiment of this application.

An eighth aspect of an embodiment of this application provides user equipment. The user equipment includes: a receiving unit, configured to receive a first receive signal and a second receive signal. A generation unit, configured to generate local synchronization signal sequences, where the local synchronization signal sequences includes a first local synchronization signal sequence and a second local synchronization signal sequence. The first local synchronization signal sequence is a sequence obtained based on a first m-sequence, the second local synchronization signal sequence is a sequence obtained based on a first Gold sequence, the first Gold sequence is generated based on a second m-sequence and a third m-sequence. A generator polynomial of the first m-sequence is the same as a generator polynomial of the second m-sequence, and the first m-sequence, the second m-sequence, and the third m-sequence each have a length of N, where N is a positive integer greater than 1; and a processing unit, configured to process the first receive signal and the second receive signal based on the local synchronization signal sequence. In this embodiment of this application, the user equipment processes the first receive signal and the second receive signal respectively by using the generated first local synchronization signal sequence and second local synchronization signal sequence that have a small correlation value, that is, the user equipment processes the first reception signal and the second reception signal respectively by using a local primary synchronization signal sequence and a local secondary synchronization signal sequence, to reduce a probability of false detection of a local secondary synchronization signal and a local primary synchronization signal, thereby improving performance of detecting the first receive signal and the second receive signal.

In a first implementation of the eighth aspect in this embodiment of this application, the processing unit includes: a first processing subunit, configured to perform correlation processing on the first receive signal based on the first local synchronization signal sequence; and a second processing subunit, configured to perform correlation processing on the second receive signal based on the second local synchronization signal sequence. A process of processing the first receive signal and the second receive signal is refined in this embodiment of this application, thereby perfecting steps in this embodiment of this application.

In a second implementation of the eighth aspect in this embodiment of this application, the first processing subunit is specifically configured to perform correlation processing on the first receive signal based on the first local synchronization signal sequence. The first local synchronization signal sequence is the sequence obtained based on the first m-sequence, and the generator polynomial of the first m-sequence {c(n)|n=0,1,2, . . . , N−1} is g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), where a_(K)=1, a₀=1, K is a positive integer greater than or equal to 1, and 0≤i≤K. The first local synchronization signal sequence and the first m-sequence satisfy s(n)=1−2·c(n), n=0,1,2, . . . , N−1, c((n+K)mod N)=(Σ_(i=1) ^(K−1)a_(i)·c((n+i)mod N)+c(n))mod 2, n=0,1,2, . . . , N−K−1, where s(n) is the first local synchronization signal sequence, and c(n) is the first m-sequence. The first local synchronization signal sequence is limited in this embodiment of this application, thereby improving implementability and operability of this embodiment of this application.

In a third implementation of the eighth aspect in this embodiment of this application, the second processing subunit is specifically configured to perform correlation processing on the second receive signal based on the second local synchronization signal sequence. The second local synchronization signal sequence is the sequence obtained based on the first Gold sequence, the first Gold sequence is generated based on a second m-sequence {f₁(n)|n=0,1,2, . . . , N−1} and a third m-sequence {f₂(n)|n=0,1,2, . . . , N−1}, the generator polynomial of the second m-sequence is g₂(x)=Σ_(i=0) ^(K)b_(i)·x^(i), and a generator polynomial of the third m-sequence is g₃(x)=Σ_(i=0) ^(K)c_(i)·x^(i), where b_(K)=1, b₀=1, c_(K)=1, c₀=1, K is a positive integer greater than or equal to 1, and 0≤i≤K. The first Gold sequence, the second m-sequence, and the third m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the second synchronization signal sequence, g_(m,k)(n) is the first Gold sequence, m is a relative shift value between the sequence f₁(n) and the sequence f₂(n), and k is a cyclic shift value. The first local synchronization signal sequence is limited in this embodiment of this application, thereby improving implementability and operability of this embodiment of this application.

In a fourth implementation of the eighth aspect in this embodiment of this application, the second local synchronization signal sequence satisfies y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), x₁(n)=1−2·f₁(n), x₂(n)=1−2·f₂(n), n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the second local synchronization signal sequence, f₁(n) is the second m-sequence, and f₂(n) is the third m-sequence. It may be understood that x₁(n)=1−2·f₁(n) and x₂(n)=1−2·f₂(n) are substituted into y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), so as to learn that the second local synchronization signal sequence y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·f₁((n+m+k)mod N)]·[1−2·f₂((n+k)mod N)]. For simplicity, m+k may be denoted as k₁, that is, k₁=m+k. In this case, the second local synchronization signal sequence y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·f₁((n+k₁)mod N)]·[1−2·f₂((n+k)mod N)], where n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, and k₁=0,1,2, . . . , 2(N−1). That is, n is an integer less than or equal to N−1, k is an integer less than or equal to N−1, and k₁ is an integer less than or equal to 2(N−1). Another condition that may be satisfied by the second local synchronization signal is provided in this embodiment of this application, thereby increasing an implementation of this embodiment of this application.

A ninth aspect of an embodiment of this application provides a network device. The network device includes: a generation unit, configured to generate a first synchronization signal sequence and a second synchronization signal sequence, where the first synchronization signal sequence is a sequence obtained based on a first Gold sequence, the first Gold sequence is a sequence generated based on a first m-sequence and a second m-sequence, the second synchronization signal sequence is a sequence obtained based on a second Gold sequence, the second Gold sequence is a sequence generated based on a third m-sequence and a fourth m-sequence, generator polynomials of the first m-sequence and the third m-sequence are the same, generator polynomials of the second m-sequence and the fourth m-sequence are the same, a relative shift value between the first m-sequence and the second m-sequence is m₁, a relative shift value between the third m-sequence and the fourth m-sequence is m₂, m₁≠m₂(mod N), and the first m-sequence, the second m-sequence, the third m-sequence, and the fourth m-sequence each have a length of N; a mapping unit, configured to: map the first synchronization signal sequence onto M subcarriers in a first time unit to obtain a first synchronization signal, and map the second synchronization signal sequence onto M subcarriers in a second time unit to obtain a second synchronization signal, where M and N are positive integers greater than 1; and a sending unit, configured to send the first synchronization signal and the second synchronization signal. In this embodiment of this application, the network device generates the first synchronization signal sequence and the second synchronization signal sequence that have a small correlation value, namely, a primary synchronization signal sequence and a secondary synchronization signal sequence, to reduce cross-correlation between a secondary synchronization signal and a primary synchronization signal, thereby reducing interference caused to a primary synchronization signal by a secondary synchronization signal in another cell or in a local cell.

In a first implementation of the ninth aspect in this embodiment of this application, the first synchronization signal sequence is a sequence obtained based on the first Gold sequence, the first Gold sequence is generated based on a first m-sequence f₁(n) and a second m-sequence f₂(n), the second synchronization signal sequence is the sequence obtained based on the second Gold sequence, the second Gold sequence is the sequence generated based on a third m-sequence f₃(n) and a fourth m-sequence f₄(n), and the first Gold sequence, the first m-sequence, and the second m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, where y_(m,k)(n) is the first synchronization signal sequence, g_(m,k)(n) is the first Gold sequence, and the relative shift value between the first m-sequence and the second m-sequence is m₁. The second Gold sequence, the third m-sequence, and the fourth m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₃((n+m+k)mod N)+f₄((n+k)mod N))mod 2, where g_(m,k)(n) is the second Gold sequence, and the relative shift value between the third m-sequence and the fourth m-sequence is m₂, where n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, and k is a cyclic shift value. The generator polynomials of the first m-sequence and the third m-sequence are the same and are g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), a_(K)=1, a₀=1, the generator polynomials of the second m-sequence and the fourth m-sequence are the same and are g₂(x)=Σ_(i=0) ^(K)b_(i)·x^(i), b_(K)=1, b₀=1, and m₁≠m₂(mod N) is satisfied. The first synchronization signal sequence and the second synchronization signal sequence are limited in this embodiment of this application, thereby improving implementability and operability of this embodiment of this application.

In a second implementation of the ninth aspect in this embodiment of this application, the first synchronization signal sequence satisfies y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), x₁(n)=1−2·f₁(n), x₂(n)=1−2·f₂(n), n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the first synchronization signal sequence, f₁(n) is the first m-sequence, and f₂(n) is the second m-sequence. It may be understood that x₁(n)=1−2·f₁(n) and x₂(n)=1−2·f₂(n) are substituted into y_(m,k)(n)=((n+m+k)mod N)·x₂((n+k)mod N), so as to learn that the first synchronization signal sequence y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·f₁((n+m+k)mod N)]·[1−2·f₂((n+k)mod N)]. For simplicity, m+k may be denoted as k₁, that is, k₁=m+k. In this case, the first synchronization signal sequence y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·f₁((n+k₁)mod N)]·[1−2·f₂((n+k)mod N)], where n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, and k₁=0,1,2, . . . , 2(N−1). That is, n is an integer less than or equal to N−1, k is an integer less than or equal to N−1, and k₁ is an integer less than or equal to 2(N−1). Another condition that may be satisfied by the first synchronization signal is provided in this embodiment of this application, thereby increasing an implementation of this embodiment of this application.

A tenth aspect of an embodiment of this application provides user equipment. The user equipment includes: a receiving unit, configured to receive a first receive signal and a second receive signal; a generation unit, configured to generate local synchronization signal sequences, where the local synchronization signal sequences includes a first local synchronization signal sequence and a second local synchronization signal sequence, the first local synchronization signal sequence is a sequence obtained based on a first Gold sequence, the first Gold sequence is a sequence generated based on a first m-sequence and a second m-sequence, the second local synchronization signal sequence is a sequence obtained based on a second Gold sequence, the second Gold sequence is a sequence generated based on a third m-sequence and a fourth m-sequence, generator polynomials of the first m-sequence and the third m-sequence are the same, and generator polynomials of the second m-sequence and the fourth m-sequence are the same, where a relative shift value between the first m-sequence and the second m-sequence is m₁, a relative shift value between the third m-sequence and the fourth m-sequence is m₂, m₁≠m₂(mod N), the first m-sequence, the second m-sequence, the third m-sequence, and the fourth m-sequence each have a length of N, and N is a positive integer greater than 1; and a processing unit, configured to process the first receive signal and the second receive signal based on the local synchronization signal sequence. In this embodiment of this application, the user equipment processes the first receive signal and the second receive signal respectively by using the generated first local synchronization signal sequence and second local synchronization signal sequence that have a small correlation value, that is, the user equipment processes the first reception signal and the second reception signal respectively by using a local primary synchronization signal sequence and a local secondary synchronization signal sequence, to reduce a probability of false detection of a local secondary synchronization signal and a local primary synchronization signal, thereby improving performance of detecting the first receive signal and the second receive signal.

In a first implementation of the tenth aspect in this embodiment of this application, the first local synchronization signal sequence is a sequence obtained based on the first Gold sequence, the first Gold sequence is generated based on a first m-sequence f₁(n) and the second m-sequence f₂(n), the second local synchronization signal sequence is the sequence obtained based on the second Gold sequence, the second Gold sequence is the sequence generated based on a third m-sequence f₃(n) and the fourth m-sequence f₄(n), and the first Gold sequence, the first m-sequence, and the second m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, where y_(m,k)(n) is the first synchronization signal sequence, g_(m,k)(n) is the first Gold sequence, and the relative shift value between the first m-sequence and the second m-sequence is m₁. The second Gold sequence, the third m-sequence, and the fourth m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₃((n+m+k)mod N)+f₄((n+k)mod N))mod 2, where y_(m,k)(n) is the second synchronization signal sequence, g_(m,k)(n) is the second Gold sequence, and the relative shift value between the third m-sequence and the fourth m-sequence is m₂, where n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, and k is a cyclic shift value. The generator polynomials of the first m-sequence and the third m-sequence are the same and are g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), a_(K)=1, a₀=1, the generator polynomials of the second m-sequence and the fourth m-sequence are the same and are g₂(x)=Σ_(i=0) ^(K)b_(i)·x^(i), b_(K)=1, b₀=1, and m₁≠m₂(mod N) is satisfied. The first local synchronization signal sequence and the second local synchronization signal sequence are limited in this embodiment of this application, thereby improving implementability and operability of this embodiment of this application.

In a second implementation of the tenth aspect in this embodiment of this application, the first local synchronization signal sequence satisfies y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), x₁(n)=1−2·f₁(n), x₂(n)=1−2·f₂(n), n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the first local synchronization signal sequence, f₁(n) is the first m-sequence, and f₂(n) is the second m-sequence. It may be understood that x₁(n)=1−2·f₁(n) and x₂(n)=1−2·f₂(n) are substituted into y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), so as to learn that the first local synchronization signal sequence y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·f₁((n+m+k)mod N)]·[1−2·f₂((n+k)mod N)]. For simplicity, m+k may be denoted as k₁, that is, k₁=m+k. In this case, the first local synchronization signal sequence y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·f₁((n+k₁)mod N)]·[1−2·f₂((n+k)mod N)], where n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, and k₁=0,1,2, . . . , 2(N−1). That is, n is an integer less than or equal to N−1, k is an integer less than or equal to N−1, and k₁ is an integer less than or equal to 2(N−1). Another condition that may be satisfied by the first local synchronization signal is provided in this embodiment of this application, thereby increasing an implementation of this embodiment of this application.

An eleventh aspect of an embodiment of this application provides a synchronization signal sending method. The method includes: generating, by a network device, a first synchronization signal sequence and a second synchronization signal sequence, where the second synchronization signal sequence is a sequence obtained based on a first m-sequence and a second m-sequence, a relative shift value between the first m-sequence and the second m-sequence is m, a cyclic shift value is p, a value range of p does not include a cyclic shift value k strongly correlated to the first synchronization signal sequence, and the first m-sequence and the second m-sequence each have a length of N; mapping, by the network device, the first synchronization signal sequence onto M subcarriers in a first time unit to obtain a first synchronization signal, and mapping the second synchronization signal sequence onto M subcarriers in a second time unit to obtain a second synchronization signal, where M and N are positive integers greater than 1; and sending, by the network device, the first synchronization signal and the second synchronization signal. In this embodiment of this application, the network device generates the first synchronization signal sequence and the second synchronization signal sequence that have a small correlation value, namely, a primary synchronization signal sequence and a secondary synchronization signal sequence, to reduce cross-correlation between a secondary synchronization signal and a primary synchronization signal, thereby reducing interference caused to a primary synchronization signal by a secondary synchronization signal in another cell or in a local cell.

In a first implementation of the eleventh aspect in this embodiment of this application, the second synchronization signal sequence may be a Gold sequence, and the Gold sequence is a sequence generated based on a first m-sequence f₁(n) and the second m-sequence f₂(n), and satisfies y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the second synchronization signal sequence, g_(m,k)(n) is the Gold sequence, and f₁(n) and f₂(n) are m-sequences. The second synchronization signal sequence is limited in this embodiment of this application, thereby improving implementability and operability of this embodiment of this application.

A twelfth aspect of an embodiment of this application provides a synchronization signal receiving method. The method includes: receiving, by user equipment, a first receive signal and a second receive signal; generating, by the user equipment, local synchronization signal sequences, where the local synchronization signal sequences includes a first local synchronization signal sequence and a second local synchronization signal sequence, the second local synchronization signal sequence is a sequence obtained based on a first m-sequence and a second m-sequence, a relative shift value between the first m-sequence and the second m-sequence is m, a cyclic shift value is p, a value range of p does not include a cyclic shift value k strongly correlated to the first synchronization signal sequence, the first m-sequence and the second m-sequence each have a length of N, and N is a positive integer greater than 1; and processing, by the user equipment, the first receive signal and the second receive signal based on the local synchronization signal sequence. In this embodiment of this application, the user equipment processes the first receive signal and the second receive signal respectively by using the generated first local synchronization signal sequence and second local synchronization signal sequence that have a small correlation value, that is, the user equipment processes the first reception signal and the second reception signal respectively by using a local primary synchronization signal sequence and a local secondary synchronization signal sequence, to reduce a probability of false detection of a local secondary synchronization signal and a local primary synchronization signal, thereby improving performance of detecting the first receive signal and the second receive signal.

In a first implementation of the twelfth aspect in this embodiment of this application, the second local synchronization signal sequence may be a Gold sequence, and the Gold sequence is generated based on a first m-sequence f₁(n) and the second m-sequence f₂(n), and satisfies y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the second local synchronization signal sequence, g_(m,k)(n) is the Gold sequence, and f₁(n) and f₂(n) are m-sequences. The second local synchronization signal sequence is limited in this embodiment of this application, thereby improving implementability and operability of this embodiment of this application.

A thirteenth aspect of this application provides a computer-readable storage medium. The computer-readable storage medium stores instructions,which when executed by a computer, causes the computer to perform the following steps: generating a first synchronization signal sequence and a second synchronization signal sequence, where the first synchronization signal sequence is a sequence obtained based on a first m-sequence, the second synchronization signal sequence is a sequence obtained based on a first Gold sequence, the first Gold sequence is generated based on a second m-sequence and a third m-sequence, a generator polynomial of the first m-sequence is the same as a generator polynomial of the second m-sequence, and the first m-sequence, the second m-sequence, and the third m-sequence each have a length of N; and mapping the first synchronization signal sequence onto M subcarriers in a first time unit to obtain a first synchronization signal, and mapping the second synchronization signal sequence onto M subcarriers in a second time unit to obtain a second synchronization signal, where M and N are positive integers greater than 1.

Optionally, the first synchronization signal sequence is a sequence obtained based on the first m-sequence, and the generator polynomial of the first m-sequence {c(n)|n=0,1,2, . . . , N−1} is g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), where a_(K)=1, a₀=1, K is a positive integer greater than or equal to 1, and 0≤i≤K. The first synchronization signal sequence and the first m-sequence satisfy s(n)=1−2·c(n), n=0,1,2, . . . , N−1, c((n+K)mod N)=(Σ_(i=1) ^(K−1)a_(i)·c((n+i)mod N)+c(n))mod 2, n=0,1,2, . . . , N−K−1, where s(n) is the first synchronization signal sequence, and c(n) is the first m-sequence.

Optionally, the second synchronization signal sequence is a sequence obtained based on the first Gold sequence, the first Gold sequence is generated based on a second m-sequence {f₁(n)|n=0,1,2, . . . , N−1} and a third m-sequence {f₂(n)|n=0,1,2, . . . , N−1}, the generator polynomial of the second m-sequence is g₂(x)=Σ_(i=0) ^(K)b_(i)·x^(i), and a generator polynomial of the third m-sequence is g₃(x)=Σ_(i=0) ^(K)c_(i)·x^(i), where b_(K)=1, b₀=1, c_(K)=1, c₀=1, K is a positive integer greater than or equal to 1, and 0≤i≤K. The first Gold sequence, the second m-sequence, and the third m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the second synchronization signal sequence, g_(m,k)(n) is the first Gold sequence, m is a relative shift value between the sequence f₁(n) and the sequence f₂(n), and k is a cyclic shift value.

Optionally, the second synchronization signal sequence satisfies y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), x₁(n)=1−2·f₁(n), x₂(n)=1−2·f₂(n), n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the second synchronization signal sequence, f₁(n) is the second m-sequence, and f₂(n) is the third m-sequence. It may be understood that x₁(n)=1−2·f₁(n) and x₂(n)=1−2·f₂(n) are substituted into y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), so as to learn that the second synchronization signal sequence y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·f₁((n+m+k)mod N)]·[1−2·f₂((n+k)mod N)]. For simplicity, m+k may be denoted as k₁, that is, k₁=m+k. In this case, the second synchronization signal sequence y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·f₁((n+k₁)mod N)]·[1−2·f₂((n+k)mod N)], where n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, and k₁=0,1,2, . . . , 2(N−1). That is, n is an integer less than or equal to N−1, k is an integer less than or equal to N−1, and k₁ is an integer less than or equal to 2(N−1).

Optionally, local synchronization signal sequences is generated. The local synchronization signal sequences includes a first local synchronization signal sequence and a second local synchronization signal sequence. The first local synchronization signal sequence is a sequence obtained based on a first m-sequence, the second local synchronization signal sequence is a sequence obtained based on a first Gold sequence, the first Gold sequence is generated based on a second m-sequence and a third m-sequence, a generator polynomial of the first m-sequence is the same as a generator polynomial of the second m-sequence, and the first m-sequence, the second m-sequence, and the third m-sequence each have a length of N, where N is a positive integer greater than 1. The first receive signal and the second receive signal are processed based on the local synchronization signal sequence.

It can be learned from the foregoing technical solutions that the embodiments of this application have the following advantages:

In the technical solutions provided in the embodiments of this application, the network device generates the first synchronization signal sequence and the second synchronization signal sequence. The first synchronization signal sequence is a sequence obtained based on an m-sequence, the second synchronization signal sequence is a sequence obtained based on a Gold sequence, the Gold sequence is generated based on a first m-sequence and a second m-sequence, and a generator polynomial of the m-sequence is the same as a generator polynomial of the first m-sequence of the Gold sequence. The network device maps the first synchronization signal sequence and the second synchronization signal sequence respectively onto N subcarriers in the first time unit and N subcarriers in the second time unit, to obtain the first synchronization signal and the second synchronization signal, where N is a positive integer greater than or equal to 1. The network device sends the first synchronization signal and the second synchronization signal. In the embodiments of this application, a primary synchronization signal sequence and a secondary synchronization signal sequence that have a small correlation value and that are generated by the network device reduce cross-correlation between a secondary synchronization signal and a primary synchronization signal, thereby reducing interference caused to a primary synchronization signal by a secondary synchronization signal in another cell or in a local cell.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1a is a schematic diagram of a network architecture according to an embodiment of this application;

FIG. 1b is a schematic diagram of a scenario according to an embodiment of this application;

FIG. 2 is a schematic diagram of a synchronization signal sending method according to an embodiment of this application;

FIG. 3 is a schematic diagram of a correspondence between an octal value and a primitive polynomial according to an embodiment of this application;

FIG. 4 is a schematic diagram of a scenario in which a synchronization signal has different center frequencies according to an embodiment of this application;

FIG. 5 is a schematic diagram of a synchronization signal sending method according to another embodiment of this application;

FIG. 6 is a schematic diagram of a network device according to an embodiment of this application;

FIG. 7 is a schematic diagram of user equipment according to an embodiment of this application;

FIG. 8 is a schematic diagram of a network device according to another embodiment of this application;

FIG. 9 is a schematic diagram of user equipment according to another embodiment of this application;

FIG. 10 is a schematic diagram of a network device according to another embodiment of the present invention;

FIG. 11 is a schematic diagram of user equipment according to another embodiment of this application;

FIG. 12a is a schematic diagram of user equipment according to another embodiment of this application;

FIG. 12b is a schematic diagram of user equipment according to another embodiment of this application; and

FIG. 13 is a schematic diagram of a network device according to another embodiment of this application.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

Embodiments of this application provide a synchronization signal sending method, so as to reduce correlation between a secondary synchronization signal and a primary synchronization signal, and reduce interference to the primary synchronization signal.

To make persons skilled in the art understand the technical solutions in this application better, the following describes the embodiments of this application with reference to the accompanying drawings in the embodiments of this application.

In the specification, claims, and accompanying drawings of this application, the terms “first”, “second”, “third”, “fourth”, and so on (if existent) are intended to distinguish between similar objects but do not necessarily indicate a specific order or sequence. It should be understood that the data termed in such a way are interchangeable in proper circumstances so that the embodiments described herein can be implemented in other orders than the order illustrated or described herein. Moreover, the terms “include”, “have” and any other variants mean to cover the non-exclusive inclusion, for example, a process, method, system, product, or device that includes a list of steps or units is not necessarily limited to those steps or units, but may include other steps or units not expressly listed or inherent to such a process, method, system, product, or device.

The embodiments of this application may be applied to a network architecture shown in FIG. 1 a. In the network architecture, a synchronization signal is transmitted between a network device (for example, a base station) and user equipment (for example, a mobile phone). A device transmitting a synchronization signal in this application is referred to as a network device. The embodiments of this application are described by using an example in which a network device sends a synchronization signal to user equipment. As shown in FIG. 1 b, when a user terminal in a cell 1 detects a primary synchronization signal, secondary synchronization signals in the cell 1 and a cell 2 cause interference to the primary synchronization signal in the cell 1. Because the cell 2 and the cell 1 may not synchronize in time, the secondary synchronization signal in the cell 2 and the primary synchronization signal in the cell 1 may overlap with each other in terms of time. In this case, the secondary synchronization signal in the cell 2 causes interference to the primary synchronization signal in the cell 1. The secondary synchronization signal in the cell 1 may also cause interference to detection of the primary synchronization signal in the cell 1. This is because when detects the primary synchronization signal in the cell 1, the user terminal performs correlation operation on a received signal by using a local primary synchronization signal sequence. If a received signal is a secondary synchronization signal, the correlation operation on sequence for the received secondary synchronization signal by using local primary synchronization signal sequence is preformed. Consequently, detection for the primary synchronization signal is interfered by the secondary synchronization signal.

It may be understood that a synchronization signal may also be sent and received between network devices or between user equipments. This is not specifically limited herein.

The network device in this application may be any device having a wireless transmission and receiving function, and includes, but is not limited to: a base transceiver station (base transceiver station, BTS) in a Global System for Mobile Communications (Global System for Mobile, GSM) or CDMA, a NodeB (NodeB) in WCDMA, an evolved NodeB (NodeB or eNB or e-NodeB, evolved NodeB) in LTE, a gNodeB (gNodeB or gNB) or a transmission/reception point (transmission reception point, TRP) in NR, a base station of future evolution in 3GPP, an access node in a WiFi system, a wireless relay node, a wireless backhaul node, and the like. The base station may be a macro base station, a micro base station, a picocell base station, a small cell, a relay station, or the like. A plurality of base stations can support networks that use a same technology mentioned above, or may support networks that use different technologies mentioned above. The base station may include one or more co-sited or non-co-sited transmission/reception points (Transmission receiving point, TRP). The network device may alternatively be a radio controller, a centralized unit (centralized unit, CU), and/or a distributed unit (distributed unit, DU) in a cloud radio access network (cloud radio access network, CRAN) scenario. The network device may alternatively be a server, a wearable device, an in-vehicle device, or the like. That the network device is a base station is used as an example below for description. The plurality of network devices may be base stations of a same type or base stations of different types. The base station may communicate with a terminal device, or may communicate with a terminal device by using a relay station. The terminal device may communicate with a plurality of base stations that use different technologies. For example, the terminal device may communicate with a base station supporting an LTE network, may communicate with a base station supporting a 5G network, or may support a dual connection to a base station in an LTE network and a base station in a 5G network.

In this application, the terminal device is a device having a wireless transmission and receiving function, and may be deployed on land including an indoor or outdoor environment, in a handheld, wearable, or in-vehicle manner, may be deployed on a water surface (for example, in a ship), or may be deployed in air (for example, on an airplane, in a balloon, or on a satellite). The terminal device may be a mobile phone (mobile phone), a tablet computer (Pad), a computer having a wireless transmission and receiving function, a virtual reality (virtual reality, VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal related to industrial control (industrial control), a wireless terminal related to self driving (self driving), a wireless terminal related to remote medical (remote medical), a wireless terminal related to a smart grid (smart grid), a wireless terminal related to transportation safety (transportation safety), a wireless terminal related to a smart city (smart city), a wireless terminal related to a smart home (smart home), or the like. The embodiments of this application impose no limitation on an application scenario. The user equipment sometimes may also be referred to as a terminal, a terminal device, user equipment (user equipment, UE), an access terminal device, a UE unit, a UE station, a mobile station, a mobile, a remote station, a remote terminal device, a mobile device, a UE terminal device, a terminal device, a wireless communications device, a UE agent, a UE apparatus, or the like. Further, the terminal may be stationary or movable.

According to a sequence rule, a generator polynomial of an m-sequence is g(x)=Σ_(i=0) ^(K)a_(i)·x^(i), where a_(K)=1, a₀=1, and if the generator polynomial is g(x), generated sequence c(n)={c(n)|n=0,1,2, . . . , N−1} satisfies the following recursive relationship: c((n+K)mod N)=(Σ_(i=1) ^(K−1)a_(i)·c((n+i)mod N)+c(n))mod 2, n=0,1,2, . . . , N−K−1. An initial state is c(K−1), c(K−2), c(K−3), . . . , c(1), c(0), and the sequence {c(n)|n=0,1,2, . . . , N−1} may be obtained based on the initial status value and a recursion formula. When the generator polynomial is a Kth-order primitive polynomial, the obtained sequence is an m-sequence having a length of N=2^(K)−1.

A Gold sequence is a sequence generated by performing modulo 2 addition on a pair of preferred m-sequences. The pair of preferred m-sequences leads to relatively small cross-correlation between different Gold sequences. f₁(n) and f₂(n) are two m-sequences each having a length of N, g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2 is a Gold sequence having a length of N, where m=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1. Variation in m and k leads to generation of a plurality of different Gold sequences in a same group. One pair of m-sequences in the Gold sequences leads to relatively small cross-correlation between the different Gold sequences in the same group.

It is assumed that a generator polynomial of a primary synchronization signal sequence is g(x)=x⁷+x⁴+1, that is, c(n+7)=(c(n+4)+c(n))mod 2, where c(n) is an m-sequence. An initial state is 1 1 1 0 1 1 0, that is, c(6)=1, c(5)=1, c(4)=1, c(3)=0, c(2)=1, c(1)=1, c(0)=0. The m-sequence may also be represented as {c(6), c(5), c(4), c(3), c(2), c(1), c(0)}={1 1 1 0 1 1 0}. Further, after BPSK modulation is performed on the m-sequence, the m-sequence is mapped onto N subcarriers. For example, N=127. A modulated primary synchronization signal sequence is s(n)=1−2·c(n), n=0, 1, . . . , N−1. It can be learned that herein, the m-sequence c(n) and the primary synchronization signal sequence s(n) each have a length of N. For example, three primary synchronization signal sequences may be generated based on cyclically shifted sequences of c(n) with three cyclic shifts (0, 43, 86). A cyclically shifted sequence of the sequence {c(n)|n=0, 1, 2, . . . , N−1} is represented as {c((n+p)mod N)|n=0, 1, 2, . . . , N−1}, where p is a cyclic shift value, and p=0, 1, 2, . . . , N−1. For example, if a cyclic shift value p is 0 and N=127, the primary synchronization signal sequence is represented as s(n)=1−2·c((n)mod 127). If a cyclic shift value p is 43 and N=127, the primary synchronization signal sequence is represented as s(n)=1−2·c((n+43)mod 127). If a cyclic shift value p is 86, and N=127, the primary synchronization signal sequence is represented as s(n)=1−2·c((n+86)mod 127).

A secondary synchronization signal sequence is obtained based on a sequence g_(m,k)(n) which is generated based on two m-sequences, for example, may be obtained based on sequences f₁(n) and f₂(n) that are generated respectively by using generator polynomials g₁(x)=x⁷+x³+1 and g₂(x)=x³+x²+x+1, where g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, and an initial value is 1 1 1 0 1 1 0. Herein, m is a relative shift value between the two m-sequences. For example, m=0, 1, 2, . . . , 126, n=0, 1, 2, . . . , 126. Further, after BPSK modulation is performed on the Gold sequence, the Gold sequence is mapped onto N subcarriers, where N=127.

y_(m,k)(n)=1−2·g_(m,k)(n), n=0, 1, . . . , N−1 is a secondary synchronization signal sequence and is mapped onto N subcarriers. Herein, the primary synchronization signal and the secondary synchronization signal are located on different OFDM symbols. For example, N=127.

When a secondary synchronization signal in a neighboring cell is overlapped with a primary synchronization signal in a local cell in time domain, interference is caused to the primary synchronization signal. When the UE detects the primary synchronization signal of the local cell, the secondary synchronization signal and the primary synchronization signal have a relatively large correlation value. This also causes interference to detection of the primary synchronization signal. Specifically, for the foregoing generated Gold sequence of the secondary synchronization signal, maximum correlation values between a sequence for a primary synchronization signal having a cyclic shift of 0 and a sequence whose cyclic shift value is k_(m) corresponding to 127 relative shift values (m=0, 1, . . . , 126) of the Gold sequence are as follows: {33, 29, 25, 31, 41, 29, 33, 33, 29, 25, 31, 41, 29, 33, 33, 29, 25, 31, 41, 29, 33, 33, 29, 25, 31, 41, 29, 33, 33, 29, 25, 31, 41, 29, 33, 33, 29, 25, 31, 41, 29, 33, 33, 29, 25, 31, 41, 29, 33, 33, 29, 25, 31, 41, 29, 33, 33, 29, 25, 31, 41, 29, 33, 33, 29, 25, 31, 41, 29, 33, 33, 29, 25, 31, 41, 29, 33, 33, 29, 25, 31, 41, 29, 33, 33, 29, 25, 31, 41, 29, 33, 33, 29, 25, 31, 41, 29, 33, 33, 29, 25, 31, 41, 29, 33, 33, 29, 25, 31, 41, 29, 33, 33, 29, 25, 31, 41, 29, 33, 33, 29, 25, 31, 41, 29, 33, 33}.

Values of k_(m) are as one of the following:

{20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20}.

Usually, a maximum correlation value between different sequences in a group of Gold sequences is 17. Apparently, the foregoing correlation values are much greater than 17, leading to relatively large interference caused to the primary synchronization signal by the secondary synchronization signal.

For convenience of understanding, specific procedures of the embodiments of this application are described below. Referring to FIG. 2, an embodiment of a synchronization signal sending method according to the embodiments of this application includes the following steps.

201. A network device generates a first synchronization signal sequence and a second synchronization signal sequence.

The network device generates the first synchronization signal sequence and the second synchronization signal sequence. The first synchronization signal sequence is a sequence obtained based on a first m-sequence, the second synchronization signal sequence is a sequence obtained based on a first Gold sequence, the first Gold sequence is generated based on a second m-sequence and a third m-sequence, a generator polynomial of the first m-sequence is the same as a generator polynomial of the second m-sequence, and the first m-sequence, the second m-sequence, and the third m-sequence each have a length of N, where N is a positive integer greater than 1.

It should be noted that the first synchronization signal sequence is the sequence obtained based on the first m-sequence. The network device obtains an m-sequence {c(n)|n=0,1,2, . . . , N−1} based on a generator polynomial g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), where a value of a coefficient of the polynomial may be 0 or 1, and a_(K)=1, a₀=1, K is a positive integer greater than 1, and 0≤i≤K. Then, the network device obtains the first synchronization signal sequence s(n)=1−2·c(n), n=0,1,2, . . . , N−1, c((n+K)mod N)=(Σ_(i=1) ^(K−1)a_(i)·c((n+i)mod N)+c(n))mod 2, n=0,1,2, . . . , N−K−1 based on an initial state value of the first m-sequence and a recursion formula, where s(n) is the first synchronization signal sequence, and c(n) is the first m-sequence. A different initial state value of the first m-sequence leads to a different obtained sequence. The initial state value of the first m-sequence is not limited herein. The second synchronization signal sequence is the sequence obtained based on the first Gold sequence, the first Gold sequence is generated based on a second m-sequence {f₁(n)|n=0,1,2, . . . , N−1} and a third m-sequence {f₂(n)|n=0,1,2, . . . , N−1}, the generator polynomial of the second m-sequence is g₂(x)=Σ_(i=0) ^(K)b_(i)·x^(i), and a generator polynomial of the third m-sequence is g₃(x)=Σ_(i=0) ^(K)c_(i)·x^(i), where b_(K)=1, b₀=1, c_(K)=1, c₀=1, K is a positive integer greater than 1, and 0≤i≤K. The first Gold sequence, the second m-sequence, and the third m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where g_(m,k)(n) is the first Gold sequence, m is a relative shift value between the sequence f₁(n) and the sequence f₂(n), and k is a cyclic shift value.

It may be understood that when the generator polynomial is a Kth-order primitive polynomial, the obtained first synchronization signal sequence is an m-sequence. The first synchronization signal sequence has a length of N, where N=2^(K)−1. For example, when K=7, N=127. K is an integer greater than 1. This is not specifically limited herein. Cyclic shift may be performed on the first synchronization signal sequence and the second synchronization signal sequence, to obtain other sequences having same properties. For example, a sequence obtained after cyclic shift is performed on the first synchronization signal sequence has a property the same as that of the first synchronization signal sequence, and is still an m signal sequence. After cyclic shift is performed on the second synchronization signal sequence, another Gold sequence in a same group is obtained. A cyclically shifted sequence satisfies {c((n+p)mod N)|n=0,1,2, . . . , N−1}, where p is a cyclic shift value, including, but not limited to p=0,1,2, . . . , N−1.

For example, when K=7, N is 127. A first synchronization signal sequence corresponding to a first synchronization signal is a sequence obtained based on the first m-sequence. The generator polynomial of the first m-sequence is g(x)=x⁷+x⁴+1. The recursion formula is c(n+7)=(c(n+4)+c(n))mod 2. The initial state value of the first m-sequence is {1 1 1 0 1 1 0}. That is, c(6)=1, c(5)=1, c(4)=1, c(3)=0, c(2)=1, c(1)=1, c(0)=0. In other words, {c(6), c(5), c(4), c(3), c(2), c(1), c(0)}={1 1 1 0 1 1 0}. Based on the initial value of the first m-sequence, a sequence that is of the first synchronization signal and that has a length of 127 is obtained: {1 1 1 1 1 1 0 0 0 0 1 1 1 0 1 1 1 1 0 0 1 0 1 1 0 0 1 0 0 1 0 0 0 1 0 0 1 1 0 0 0 1 0 1 1 1 0 1 0 1 1 0 1 1 0 0 0 0 0 1 1 0 0 1 1 0 1 0 1 0 0 1 1 1 0 0 1 1 1 0 0 1 1 1 1 0 1 1 0 1 0 0 0 0 1 0 1 0 1 0 1 1 1 1 1 0 1 0 0 1 0 1 0 0 1 1 1 0 0 1 1 1 1 0 1 1 0}.

As shown in FIG. 3, a second synchronization signal sequence corresponding to a second synchronization signal is a sequence obtained based on the second m-sequence and the third m-sequence. The generator polynomial of the second m-sequence is the same as the generator polynomial of the first m-sequence of the first synchronization signal. For example, the generator polynomial of the second m-sequence may be represented as g(x)=x⁷+x⁴+1. A primitive polynomial corresponding to the second m-sequence is {1 0 0 1 0 0 0 1}, and corresponds to an octal value 221. For example, the generator polynomial of the third m-sequence may be a generator polynomial corresponding to any one of octal values 361, 375, 313, 301, 325, 345, 367, 271, 253, and 203 in FIG. 3, and a coefficient a₇, a₆, . . . , a₁, a₀ is a value corresponding to each primitive polynomial (in other words, the foregoing generator polynomial) in FIG. 3, where a₇ is a highest bit. For example, a value 361 is represented as 1 1 1 1 0 0 0 1 in a binary form, and a generator polynomial corresponding to the value is g₂(x)=x⁷+x⁶+x⁵+x⁴+1. For another example, an octal value 203 is represented as 1 0 0 0 0 0 1 1 in a binary form, a corresponding generator polynomial is g₂(x)=x⁷+x+1, and a corresponding recursion formula satisfies c₁(i+7)=(c₁(i+1)+c₁(i))mod 2.

Optionally, both the first synchronization signal sequence and the second synchronization signal sequence are sequences obtained based on a Gold sequence. For example, the first synchronization signal sequence is a sequence obtained based on a first Gold sequence, and the first Gold sequence is a sequence generated based on a first m-sequence and a second m-sequence. The second synchronization signal sequence is a sequence obtained based on a second Gold sequence, and the second Gold sequence is a sequence generated based on a third m-sequence and a fourth m-sequence. Generator polynomials of the first m-sequence and the third m-sequence are the same, and generator polynomials of the second m-sequence and the fourth m-sequence are the same. For example, a relative shift value between the first m-sequence and the second m-sequence is m₁, a relative shift value between the third m-sequence and the fourth m-sequence is m₂, and m₁≠m₂(mod N) is satisfied. The first m-sequence, the second m-sequence, the third m-sequence, and the fourth m-sequence each have a length of N, where N=2^(K)−1.

In an implementation, the first synchronization signal sequence y_(m,k)(n) satisfies y_(m,k)(n)=1−2·g_(m,k)(n). The sequence g_(m,k)(n) may be a Gold sequence obtained based on the first m-sequence f₁(n) and the second m-sequence f₂(n), and g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where m is the relative shift value between the sequence f₁(n) and the sequence f₂(n). The second synchronization signal sequence y_(m,k)(n) satisfies y_(m,k)(n)=1−2·g_(m,k)(n). g_(m,k)(n) may be a Gold sequence obtained based on the third m-sequence f₃(n) and the fourth m-sequence f₄(n), and g_(m,k)(n)=(f₃((n+m+k)mod N)+f₄((n+k)mod N))mod 2. The relative shift value between the third m-sequence f₃(n) and the fourth m-sequence f₄(n) is m₂, n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, and k is the cyclic shift value.

The generator polynomials of the first m-sequence and the third m-sequence are the same and both are g₁(x), where g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), a_(K)=1, a₀=1. The generator polynomials of the second m-sequence and the fourth m-sequence are the same and both are g₂(x), where g₂(x)=Σ_(i=0) ^(K)b_(i)·x^(i), b_(K)=1, b₀=1, and m₁≠m₂(mod N) is satisfied.

202. The network device obtains a first synchronization signal and a second synchronization signal.

The network device maps the first synchronization signal sequence onto M subcarriers in a first time unit to obtain the first synchronization signal, and maps the second synchronization signal sequence onto M subcarriers in a second time unit to obtain the second synchronization signal, where M is a positive integer greater than 1.

It should be noted that the first synchronization signal and the second synchronization signal that are obtained by the network device may be sequences obtained after modulation and transformation are performed on m-sequences, or may be generated according to a formula. The first synchronization signal satisfies s(n)=1−2·c(n), n=0,1, . . . , N−1, where N is a positive integer greater than 1, s(n) is the first synchronization signal sequence, and c(n) is the first m-sequence.

M=N or M=N−1. When M=N, N elements in a synchronization signal sequence are mapped onto N subcarriers. When M=N−1, elements other than a central element in a synchronization signal sequence are mapped onto N−1 subcarriers. A central element in a sequence of a synchronization signal may be mapped onto a central subcarrier of the synchronization signal in a frequency domain or may not be transmitted. This is not limited in the embodiments of the present invention.

It may be understood that the network device may modulate an m-sequence through binary phase shift keying (binary phase shift keying, BPSK), to obtain a modulated and transformed synchronization signal sequence. The network device may alternatively, including, but not limited to, modulate the synchronization signal sequence by using another modulation scheme.

For example, when the first m-sequence is the sequence {1 1 1 1 1 1 0 0 0 0 1 1 1 0 1 1 1 1 0 0 1 0 1 1 0 0 1 0 0 1 0 0 0 1 0 0 1 1 0 0 0 1 0 1 1 1 0 1 0 1 1 0 1 1 0 0 0 0 0 1 1 0 0 1 1 0 1 0 1 0 0 1 1 1 0 0 1 1 1 0 0 1 1 1 1 0 1 1 0 1 0 0 0 0 1 0 1 0 1 0 1 1 1 1 1 0 1 0 0 1 0 1 0 0 1 1 1 0 0 1 1 1 1 0 1 1 0} in the foregoing step, a modulated and transformed sequence is {−1−1−1−1−1−1 1 1 1 1−1−1−1 1−1−1−1−1 1 1−1 1−1−1 1 1−1 1 1−1 1 1 1−1 1 1−1−1 1 1 1−1 1−1−1−1 1−1 1−1−1 1−1−1 1 1 1 1 1−1−1 1 1−1−1 1−1 1−1 1 1−1−1−1 1 1−1−1−1 1 1−1−1−1−1 1−1−1 1−1 1 1 1 1−1 1−1 1−1 1−1−1−1−1−1 1−1 1 1−1 1−1 1 1−1−1−1 1 1−1−1−1−1 1−1−1 1}. A modulation process of the first Gold sequence is similar to a modulation process of the first m-sequence, and details are not described herein again.

203. The network device sends the first synchronization signal and the second synchronization signal.

The network device sends the first synchronization signal on a subcarrier carrying the first synchronization signal sequence, and sends the second synchronization signal on a subcarrier carrying the second synchronization signal sequence.

204. User equipment receives a first receive signal and a second receive signal.

The user equipment receives a signal sent by the network device, and chooses to receive the first receive signal and the second receive signal that satisfy a signal quality requirement.

It should be noted that the user equipment may receive a sensed signal, and receive the needed first receive signal and second receive signal from a signal whose signal quality satisfies a requirement. The signal quality may include, but not limited to a signal strength, channel quality indication information, and the like.

205. The user equipment generates local synchronization signal sequences.

The user equipment generates local synchronization signal sequences. The local synchronization signal sequence includes a first local synchronization signal sequence and a second local synchronization signal sequence. The first local synchronization signal sequence is a sequence obtained based on the first m-sequence, the second local synchronization signal sequence is a sequence obtained based on the first Gold sequence, the first Gold sequence is generated based on a second m-sequence and a third m-sequence, and the generator polynomial of the first m-sequence is the same as the generator polynomial of the second m-sequence in the first Gold sequence.

It should be noted that the first local synchronization signal sequence is the sequence obtained based on the first m-sequence. The user equipment obtains the first m-sequence {c(n)|n=0,1,2, . . . , N−1} based on the generator polynomial g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), where a value of a coefficient of the polynomial may be 0 or 1, a_(K)=1, a₀=1, K is a positive integer greater than or equal to 1, and 0≤i≤K. Then, the user equipment obtains the first local synchronization signal sequence s(n)=1−2·c(n), n=0,1,2, . . . , N−1, c((n+K)mod N)=(Σ_(i=1) ^(K−1)a_(i)·c((n+i)mod N)+c(n))mod 2, n=0,1,2, . . . , N−K−1 based on the initial state value of the first m-sequence and the recursion formula, where s(n) is the first local synchronization signal sequence, and c(n) is the first m-sequence. A different initial state value of the first m-sequence leads to a different obtained sequence. The initial state value of the first m-sequence is not limited herein. The second local synchronization signal sequence is the sequence obtained based on the first Gold sequence, the Gold sequence is generated based on a second m-sequence {f₁(n)|n=0,1,2, . . . , N−1} and a third m-sequence {f₂(n)|n=0,1,2, . . . , N−1}. The generator polynomial of the second m-sequence is g₂(x)=Σ_(i=0) ^(K)b_(i)·x^(i), and the generator polynomial of the third m-sequence is g₃(x)=Σ_(i=0) ^(K)c_(i)·x^(i), where b_(K)=1, b₀=1, c_(K)=1, c₀=1, K is a positive integer greater than or equal to 1, and 0≤i≤K. The first Gold sequence, the second m-sequence, and the third m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the second synchronization signal sequence, g_(m,k)(n) is the first Gold sequence, and m is the relative shift value between the sequence f₁(n) and the sequence f₂(n).

It may be understood that when the generator polynomial is a Kth-order primitive polynomial, the obtained first local synchronization signal sequence is an m-sequence, and the first local synchronization signal sequence has a length of N, where N=2^(K)−1. For example, when K=7, N=127. K is an integer greater than 1. This is not specifically limited herein. Cyclic shift may be performed on the first local synchronization signal sequence and the second local synchronization signal sequence, to obtain other sequences having same properties. For example, a sequence obtained after cyclic shift is performed on the first local synchronization signal sequence has a property the same as that of the first local synchronization signal sequence, and is still an m-sequence. A sequence obtained after cyclic shift is performed on the second local synchronization signal sequence is still a Gold sequence. A cyclically shifted sequence of the sequence {c(n)|n=0,1,2, . . . , N−1} satisfies {c((n+p)mod N)|n=0,1,2, . . . , N−1}, p=0,1,2, . . . , N−1, where p is the cyclic shift value. Alternatively, a cyclically shifted sequence of the sequence {c(n)|n=0,1,2, . . . , N−1} satisfies {c((n−p)mod N)|n=0, 1, 2, . . . , N−1}, where p is the cyclic shift value, including, but not limited to p=0, 1, 2, . . . , N−1.

In an implementation, the user equipment generates the local synchronization signal sequence. The local synchronization signal sequence includes the first local synchronization signal sequence and the second local synchronization signal sequence, the first local synchronization signal sequence is a sequence obtained based on the first Gold sequence, and the first Gold sequence is the sequence generated based on the first m-sequence f₁(n) and the second m-sequence f₂(n). The second local synchronization signal sequence is a sequence obtained based on the second Gold sequence, the second Gold sequence is the sequence generated based on a third m-sequence f₃(n) and a fourth m-sequence f₄(n). The first Gold sequence, the first m-sequence, and the second m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, where y_(m,k)(n) is the first synchronization signal sequence, g_(m,k)(n) is the first Gold sequence, and the relative shift value between the first m-sequence and the second m-sequence is m₁. The second Gold sequence, the third m-sequence, and the fourth m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₃((n+m+k)mod N)+f₄((n+k)mod N))mod 2, where y_(m,k)(n) is the second synchronization signal sequence, g_(m,k)(n) is the second Gold sequence, the relative shift value between the third m-sequence and the fourth m-sequence is m₂, n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, and k is the cyclic shift value. The generator polynomials of the first m-sequence and the third m-sequence are the same and are g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), a_(K)=1, a₀=1, the generator polynomials of the second m-sequence and the fourth m-sequence are the same and are g₂(x)=Σ_(i=0) ^(K)b_(i)·x^(i), b_(K)=1, b₀=1, and m₁≠m₂(mod N) is satisfied. In all embodiments of the present invention, in a case of m₁≠m₂(mod N), when a system includes a plurality of secondary synchronization signal sequences, a relative shift value of each secondary synchronization signal sequence satisfies m₁≠m₂(mod N).

206. The user equipment processes the first receive signal and the second receive signal.

The user equipment processes the first receive signal and the second receive signal based on the local synchronization signal sequence. A local synchronization signal includes a first local synchronization signal and a second local synchronization signal.

It should be noted that a receive signal includes the first receive signal and the second receive signal, and the user equipment performs a correlation operation on the receive signal. The first receive signal and the second receive signal may be the same, for example, may be signals received in one period of time, or may be different, for example, may be signals received in different periods of time.

In this embodiment of this application, the first synchronization signal sequence and the second synchronization signal sequence that have a small correlation value and that are generated by the network device, namely, a primary synchronization signal sequence and a secondary synchronization signal sequence, reduce cross-correlation between a secondary synchronization signal and a primary synchronization signal. When the user equipment detects a primary synchronization signal in a local cell, interference caused to the primary synchronization signal by a secondary synchronization signal in another cell or in the local cell can be reduced, thereby ensuring that when searching the primary synchronization signal at different center frequencies, the primary synchronization signal is not strongly correlated to another synchronization signal due to the different frequencies.

It should be noted that mathematical symbols and letters in the embodiments of the present invention impose no limitation on the embodiments of the present invention. For example, in this embodiment of the present invention, the first m-sequence is represented by f₁(n), or may be represented by using another function symbol or a sequence symbol, such as a(n), a₁(n), or x(n). In a specific implementation process, the foregoing sequence may be data that is stored in a particular order or satisfies a particular relationship and on which mathematical computation or processing is performed.

As shown in FIG. 4, when primary synchronization detection is performed, it is assumed that a frequency center is a center 1, and a center location of an actually sent synchronization signal is a center 2. If a relative shift value of a Gold sequence used by a primary synchronization signal and a relative shift value of a Gold sequence used by a secondary synchronization signal satisfy m₁=m₂(mod N), different shift values k are used for distinguishing. During detection, when an assumed center is different from a center for actually transmitting the secondary synchronization signal, parts overlapped in a frequency domain may be completely the same, leading to a relatively large correlation value. According to this solution in the embodiments of the present invention, m₁≠m₂(mod N). Therefore, a correlation value is relatively small, and interference is relatively small.

It may be understood that processes of processing different receive signals by the user equipment are different. For example, detection of the primary synchronization signal is different from detection of the secondary synchronization signal. During the detection of the primary synchronization signal, a receive-side device needs to assume a center frequency of the primary synchronization signal, and obtain a received signal based on the assumed center frequency of the primary synchronization signal, so as to perform a correlation operation on a generated local primary synchronization signal sequence and the received signal. The detection of the secondary synchronization signal is performed when the primary synchronization signal has been detected. The receive-side device may obtain a center of the secondary synchronization signal based on the center of the detected primary synchronization signal (the center of the primary synchronization signal is usually the same as the center of the secondary synchronization signal). A possible frequency of the center of the primary synchronization signal is f₀+n×f_(R), where n is an integer, f₀ is an initial frequency, and f_(R) is a channel spacing and may be predefined. For example, the channel spacing f_(R) may be 100 KHz, 180 KHz, 300 KHz, or the like. In addition, a value of f_(R) may vary with a frequency band (Frequency Band). For example, in a case of a high frequency, a frequency below 3 GHz, a frequency from 3 GHz to 6 GHz, and a frequency from 6 GHz to 52.6 GHz may correspond to different channel spacing values.

There may be a plurality of, for example, three, primary synchronization signal sequences. The network device determines to use one of the primary synchronization signal sequences based on a cell identifier. In an implementation, it is assumed that there are three primary synchronization signal sequences, where two of the primary synchronization signal sequences may be obtained based on two m-sequences, and the other primary synchronization signal sequence may be obtained based on a Gold sequence. Generator polynomials of the two m-sequences are the same as generator polynomials of two m-sequences for a Gold sequence for generating the secondary synchronization signal. Generator polynomials of two m-sequences for a Gold sequence for the primary synchronization signal are the same as polynomials of the two m-sequences for the Gold sequence for generating the secondary synchronization signal. That is, the m-sequences belong to a same group of Gold sequences. There may also be a plurality of secondary synchronization signals. Different Gold sequences are generated through variation of the relative shift value and a cyclic shift value, and the different Gold sequences may carry cell identification information.

The primary synchronization signal sequence has a length of N, three cyclic shift values of an m-sequence for generating the primary synchronization signal sequence are {0, a₀, a₁}, where N>a₁>a₀>0. It is assumed that b₀=a₀, b₁=a₁−a₀, and b₂=N−a₁. The primary synchronization signal has a subcarrier spacing of Δf, a₀, a₁, f_(R) are selected, so that all values of i=0, 1, 2 satisfy (b_(i)×Δf)mod f_(R)>Δf and f_(R)−(b_(i)×Δf)mod f_(R)>Δf. For different frequency bands, Δf may be different. However, each frequency band may be unique. That is, each frequency band has only one value. Sequences of synchronization signals in different frequency bands may have a same length.

For example, it is assumed that N=127, Δf=15 KHz, a₀=43, a₁=86, and f_(R)=100 KHz. In this case, b₀=43, b₁=43, b₂=41. Therefore, b₂×Δf mod f_(R)=15 KHz does not satisfy (b₂×Δf)mod f_(R)>Δf. In this way, if a deviation between a frequency of the receive-side device and a frequency of a transmit-side device is larger than one subcarrier, when the receive-side device assumes the center frequency of the primary synchronization signal, and searches the primary synchronization signal based on the assumed center frequency, due to a frequency offset caused by the center frequency, the assumed synchronization signal and the primary synchronization signal having a cyclic shift of b₀ may have approximately 127−b₀=127−42=85 subcarriers overlapped. Even if the center frequency is incorrect, there is a relatively large correlation value, leading to degraded receiving performance of the receive-side device. If a₀=42, a₁=84, and f_(R)=100 KHz are selected, b₀=42, b₁=42, and b₂=43. (b_(i)×Δf)mod f_(R)=30 KHz, 30 KHz, 45 KHz respectively correspond to i=0,1,2.

f_(R)−(b_(i)×Δf)mod f_(R)=70 KHz, 70 KHz, 25 KHz respectively correspond to i=0,1,2. A characteristic of being greater than Δf is satisfied.

For another example, if f_(R)=180 KHz, a₀=43, a₁=86, and Δf=30 KHz, b₀=43, b₁=43, and b₂=41.

(b_(i)×Δf)mod f_(R)=30 KHz, 30 KHz, 150 KHz respectively correspond to i=0,1,2.

f_(R)−(b_(i)×Δf)mod f_(R)=150 KHz, 150 KHz, 30 KHz respectively correspond to i=0,1,2. A characteristic of being greater than Δf is not satisfied.

If f_(R)=300 KHz, a₀=42, and a₁=84, b₀=42, b₁=42, b₂=43, and Δf=30 KHz.

(b_(i)×Δf)mod f_(R)=60 KHz, 60 KHz, 90 KHz respectively correspond to i=0,1,2.

f_(R)−(b_(i)×Δf)mod f_(R)=240 KHz, 240 KHz, 210 KHz respectively correspond to i=0,1,2. A characteristic of being greater than Δf is satisfied.

Further, for each frequency band, all of the selected a₀, a₁, and f_(R) need to satisfy (b_(i)×Δf)mod f_(R)>Δf and f_(R)−(b_(i)×Δf)mod f_(R)>Δf, where Δf is a subcarrier spacing of a primary synchronization signal in the frequency band. During detection of the primary synchronization signal, a method or a device for sending or receiving a primary synchronization signal sequence that satisfies the feature and that is generated based on m-sequences whose cyclic shift values are 0, a₀, and a₁ can reduce interference caused by detection of a center frequency of a synchronization channel.

With reference to FIG. 5, another embodiment of a synchronization signal sending method provided in the embodiments of this application is described.

501. A network device generates a first synchronization signal sequence and a second synchronization signal sequence.

The network device generates the first synchronization signal sequence and the second synchronization signal sequence. The second synchronization signal sequence is a sequence obtained based on a first m-sequence and a second m-sequence. A relative shift value between the first m-sequence and the second m-sequence of the second synchronization signal sequence is obtained and is m, a cyclic shift value is p, and a value range of p does not include a cyclic shift value k strongly correlated to the first synchronization signal sequence. The first m-sequence and the second m-sequence each have a length of N.

It should be noted that the second synchronization signal sequence is a sequence obtained by performing a modulo 2 addition operation on the first m-sequence and the second m-sequence. That is, the second synchronization signal sequence is generated based on a first m-sequence {f₁(n)|n=0,1,2, . . . , N−1} and a second m-sequence {f₂(n)|n=0,1,2, . . . , N−1} through the modulo 2 addition operation. A generator polynomial of the first m-sequence is g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), and a generator polynomial of the second m-sequence is g₂(x)=Σ_(i=0) ^(K)b_(i)·x^(i), where a_(K)=1, a₀=1, b_(K)=1, b₀=1, K is a positive integer greater than or equal to 1, and 0≤i≤K. The second synchronization signal sequence may be obtained based on a Gold sequence, or may not be obtained based on a Gold sequence. The second synchronization signal sequence, the first m-sequence, and the second m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the second synchronization signal sequence, g_(m,k)(n) may be the Gold sequence, f₁(n) and f₂(n) are m-sequences, m is the relative shift value between the sequence f₁(n) and the sequence f₂(n). When f₁(n) and f₂(n) are a preferred m-sequence pair, g_(m,k)(n) is the Gold sequence.

It may be understood that, to avoid strong correlation between sequences for two synchronization signal, the cyclic shift value p used for an m-sequence in a second synchronization signal does not include the cyclic shift value k corresponding to a sequence having a maximum correlation value with a sequence for a first synchronization signal. A correlation value between two sequences having a same length is defined as an absolute value of a sum of products of conjugates of elements at a same location. For example, when K=7 and N=127, for any one of 127 relative shift values, m=0,1,2, . . . , 126. The cyclic shift value k that the second synchronization signal sequence needs to avoid is {20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20, 16, 30, 91, 95, 25, 78, 20}.

502. The network device obtains a first synchronization signal and a second synchronization signal.

The network device maps the first synchronization signal sequence onto N subcarriers in a first time unit to obtain the first synchronization signal, and maps the second synchronization signal sequence onto N subcarriers in a second time unit to obtain the second synchronization signal, where N is a positive integer greater than or equal to 1.

It should be noted that the first synchronization signal and the second synchronization signal that are obtained by the network device may be sequences obtained after modulation and transformation are performed on m-sequences, or may be directly generated according to a formula. The first synchronization signal satisfies s(n)=1−2·c(n), n=0,1, . . . , N−1, where N is a positive integer greater than 1, s(n) is the first synchronization signal sequence, and c(n) is the first m-sequence. The second synchronization signal is similar to the first synchronization signal, and details are not described herein again.

M=N or M=N−1. When M=N, N elements in a synchronization signal sequence are mapped onto N subcarriers. When M=N−1, elements other than a central element in a synchronization signal sequence are mapped onto N−1 subcarriers. A central element in a sequence of a synchronization signal may be mapped onto a central subcarrier of the synchronization signal in a frequency domain or may not be transmitted. This is not limited in the embodiments of the present invention.

It may be understood that the network device may modulate an m-sequence through binary phase shift keying (binary phase shift keying, BPSK), to obtain a modulated and transformed synchronization signal sequence. The network device may alternatively modulate the synchronization signal sequence by using another modulation scheme. This is not specifically limited herein.

503. The network device sends the first synchronization signal and the second synchronization signal.

The network device sends the first synchronization signal on a subcarrier carrying the first synchronization signal sequence, and sends the second synchronization signal on a subcarrier carrying the second synchronization signal sequence.

504. User equipment receives a first receive signal and a second receive signal.

The user equipment performs screening on a received signal, and chooses to receive the first receive signal and the second receive signal that satisfy a signal quality requirement.

In this embodiment of this application, step 503 and step 504 in which the user equipment transmits the synchronization signals are similar to step 203 and step 204 in FIG. 2, and details are not described herein again.

505. The user equipment generates local synchronization signal sequences.

The user equipment generates the local synchronization signal sequences. The local synchronization signal sequence includes a first local synchronization signal sequence and a second local synchronization signal sequence. The second local synchronization signal sequence is a sequence obtained based on the first m-sequence and the second m-sequence. The relative shift value between the first m-sequence and the second m-sequence of the second local synchronization signal sequence is obtained and is m. The cyclic shift value is p, and the value range of p does not include the cyclic shift value k strongly correlated to the first synchronization signal sequence.

It may be understood that the second local synchronization signal sequence may be obtained based on a Gold sequence. The Gold sequence is a sequence generated based on a first m-sequence f₁(n) and a second m-sequence f₂(n). The second local synchronization signal sequence satisfies y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1.

506. The user equipment processes the first receive signal and the second receive signal.

The user equipment processes the first receive signal and the second receive signal based on the local synchronization signal sequence. A local synchronization signal includes a first local synchronization signal and a second local synchronization signal.

It should be noted that a receive signal includes the first receive signal and the second receive signal, and the user equipment performs a correlation operation on the receive signal.

In this embodiment of this application, the first synchronization signal sequence and the second synchronization signal sequence that have small correlation value and that are generated by the network device, namely, a primary synchronization signal sequence and a secondary synchronization signal sequence, reduce cross-correlation between a secondary synchronization signal and a primary synchronization signal. In this way, when the user equipment detects a primary synchronization signal in a local cell, interference caused to the primary synchronization signal by a secondary synchronization signal in another cell or in the local cell can be reduced.

Referring to FIG. 6, an embodiment of a network device in the embodiments of this application includes:

a generation unit 601, configured to generate a first synchronization signal sequence and a second synchronization signal sequence, where the first synchronization signal sequence is a sequence obtained based on a first m-sequence, the second synchronization signal sequence is a sequence obtained based on a first Gold sequence. The first Gold sequence is generated based on a second m-sequence and a third m-sequence, a generator polynomial of the first m-sequence is the same as a generator polynomial of the second m-sequence, and the first m-sequence, the second m-sequence, and the third m-sequence each have a length of N;

a mapping unit 602, configured to: map the first synchronization signal sequence onto M subcarriers in a first time unit to obtain a first synchronization signal, and map the second synchronization signal sequence onto M subcarriers in a second time unit to obtain a second synchronization signal, where M and N are positive integers greater than 1; and

a sending unit 603, configured to send the first synchronization signal and the second synchronization signal.

This embodiment of the present invention provides a method for generating a synchronization signal. The synchronization signal may include the first synchronization signal and the second synchronization signal. The first synchronization signal and the second synchronization signal may be the first synchronization signal and the second synchronization signal mentioned in the embodiments of this application. For example, the first synchronization signal may be a primary synchronization signal, and the second synchronization signal may be a secondary synchronization signal. The first synchronization signal is generated based on a first synchronization signal sequence. The second synchronization signal is generated based on a second synchronization signal sequence.

In a possible implementation, the first synchronization signal sequence s(n) satisfies s(n)=1−2·c(n), n=0,1,2, . . . , N−1, where c(n) is the first m-sequence. The generator polynomial of the first m-sequence {c(n)|n=0,1,2, . . . , N−1} is g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), where a_(K)=1, a₀=1, K is a positive integer greater than or equal to 1, and 0≤i≤K. c((n+K)mod N)=(Σ_(i=1) ^(K−1)a_(i)·c((n+i)mod N)+c(n))mod 2, n=0,1,2, . . . , N−K−1. The generator polynomial of the first m-sequence c(n) is g(x)=x⁷+x⁴+1. A recursion formula is c(n+7)=(c(n+4)+c(n))mod 2.

In a possible implementation, the second synchronization signal sequence y_(m,k)(n) satisfies y_(m,k)(n)=1−2·g_(m,k)(n), n=0,1,2, . . . , N−1, where g_(m,k)(n) is the sequence obtained based on the second m-sequence {f₁(n)|n=0,1,2, . . . , N−1} and the third m-sequence {f₂(n)|n=0,1,2, . . . , N−1}. For example, g_(m,k)(n) may be a Gold sequence. The generator polynomial of the second m-sequence is g₂(x)=Σ_(i=0) ^(K)b_(i)·x^(i), a generator polynomial of the third m-sequence is g₃(x)=Σ_(i=0) ^(K)c_(i)·x^(i), where b_(K)=1, b₀=1, c_(K)=1, c₀=1, K is a positive integer greater than or equal to 1, and 0≤i≤K. g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where m is a relative shift value between the sequence f₁(n) and the sequence f₂(n), and k is a cyclic shift value.

In another possible implementation, the second synchronization signal sequence y_(m,k)(n) satisfies y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N) (Formula 1), where

x ₁(n)=1−2·f ₁(n)   (Formula 2);

x ₂(n)=1−2·f ₂(n)   (Formula 3); and

n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, f₁(n) is the second m-sequence, and f₂(n) the third m-sequence.

It may be understood that the formula 2 and the formula 3 may be substituted into the formula 1, to obtain:

y _(m,k)(n)=[1−2·f ₁((n+m+k)mod N)]˜[1−2·f ₂((n+k)mod N)]  (Formula 4)

For simplicity, m+k may be considered as k₁, that is, k₁=m+k. In this case, the formula 4 may also be represented as:

y _(m,k)(n)=[1−2·f ₁((n+k ₁)mod N)]·[1−2·f ₂((n+k)mod N)]  (Formula 5),

where

n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, and k₁=0,1,2, . . . , 2(N−1), that is, n is an integer less than or equal to N−1, k is an integer less than or equal to N−1, and k, is an integer less than or equal to 2(N−1).

In a possible implementation, the generator polynomial of the first m-sequence {c(n)|n=0,1,2, . . . , N−1} is the same as the generator polynomial of the second m-sequence f₁(n). For example, the generator polynomial of the first m-sequence is g(x)=x⁷+x⁴+1, and the recursion formula is c(n+7)=(c(n+4)+c(n))mod 2; and the generator polynomial of the second m-sequence is g(x)=x⁷+x⁴+1, and a recursion formula is f₁(n+7)=(f₁(n+4)+f₁(n))mod 2.

The first synchronization signal sequence and the second synchronization signal sequence that are obtained in this embodiment have a small correlation value. That is, a primary synchronization signal sequence and a secondary synchronization signal sequence have a small correlation value. Therefore, cross-correlation between a secondary synchronization signal and a primary synchronization signal can be reduced, thereby reducing interference caused to a primary synchronization signal by a secondary synchronization signal in another cell or in a local cell.

Referring to FIG. 7, another embodiment of user equipment in the embodiments of this application includes a receiving unit 701, a generation unit 702, a processing unit 703:

The receiving unit 701, configured to receive a first receive signal and a second receive signal;

The generation unit 702, configured to generate local synchronization signal sequences, where the local synchronization signal sequences includes a first local synchronization signal sequence and a second local synchronization signal sequence. The first local synchronization signal sequence is a sequence obtained based on a first m-sequence. The second local synchronization signal sequence is a sequence obtained based on a first Gold sequence, the first Gold sequence is generated based on a second m-sequence and a third m-sequence, a generator polynomial of the first m-sequence is the same as a generator polynomial of the second m-sequence, and the first m-sequence, the second m-sequence, and the third m-sequence each have a length of N, where N is a positive integer greater than 1; and

The processing unit 703, configured to process the first receive signal and the second receive signal based on the local synchronization signal sequence.

Optionally, the processing unit 703 may further include:

a first processing subunit 7031, configured to perform correlation processing on the first receive signal based on the first local synchronization signal sequence; and

a second processing subunit 7032, configured to perform correlation processing on the second receive signal based on the second local synchronization signal sequence.

Optionally, the first processing subunit 7031 may be specifically configured to:

perform correlation processing on the first receive signal based on the first local synchronization signal sequence, where the first local synchronization signal sequence is the sequence obtained based on the first m-sequence. The first local synchronization signal sequence s(n) satisfies s(n)=1−2·c(n), n=0,1,2, . . . , N−1, where c(n) is the first m-sequence. The generator polynomial of the first m-sequence {c(n)|n=0,1,2, . . . , N−1} is g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), where a_(K)=1, a₀=1, K is a positive integer greater than or equal to 1, and 0≤i≤K. c((n+K)mod N)=(Σ_(i=1) ^(K−1)a_(i)·c((n+i)mod N)+c(n))mod 2, n=0,1,2, . . . , N−K−1. The generator polynomial of the first m-sequence c(n) is g(x)=x⁷+x⁴+1. A recursion formula is c(n+7)=(c(n+4)+c(n))mod 2.

Optionally, the first local synchronization signal sequence may alternatively be generated in a manner of generating the first synchronization signal sequence in the foregoing embodiments. For details, refer to related descriptions in the foregoing embodiments. Details are not described herein again.

Optionally, the second processing subunit 7032 may be specifically configured to:

perform correlation processing on the second receive signal based on the second local synchronization signal sequence.

In an implementation, the second local synchronization signal sequence is the sequence obtained based on the first Gold sequence. The first Gold sequence is generated based on a second m-sequence {f₁(n)|n=0,1,2, . . . , N−1} and a third m-sequence {f₂(n)|n=0,1,2, . . . , N−1}. The generator polynomial of the second m-sequence is g₂(x)=Σ_(i=0) ^(K)b_(i)·x^(i), and a generator polynomial of the third m-sequence is g₃(x)=Σ_(i=0) ^(K)c_(i)·x^(i), where b_(K)=1, b₀=1, c_(K)=1, c₀=1, K is a positive integer greater than or equal to 1, and 0≤i≤K. The first Gold sequence, the second m-sequence, and the third m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the second synchronization signal sequence, g_(m,k)(n) is the first Gold sequence, m is a relative shift value between the sequence f₁(n) and the sequence f₂(n), and k is a cyclic shift value.

In another implementation, the second local synchronization signal sequence y_(m,k)(n) satisfies:

y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N, where x₁(n)=1−2·f₁(n), x₂(n)=1−2·f₂(n), n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, f₁(n) is the second m-sequence, and f₂(n) is the third m-sequence.

It may be understood that y_(m,k)(n) may also be represented as:

y _(m,k)(n)=[1−2·f ₁((n+m+k)mod N)]·[1−2·f ₂((n+k)mod N)].

For simplicity, m+k may be considered as k₁, that is, k₁=m+k. In this case, y_(m,k)(n) may also be represented as:

y _(m,k)(n)=[1−2·f ₁((n+k ₁)mod N)]·[1−2·f ₂((n+k)mod N)]  (Formula 5),

where

n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, k₁=0,1,2, . . . , 2(N−1), that is, n is an integer less than or equal to N−1, k is an integer less than or equal to N−1, and k₁ is an integer less than or equal to 2(N−1).

In a possible implementation, the generator polynomial of the first m-sequence {c(n)|n=0,1,2, . . . , N−1} is the same as the generator polynomial of the second m-sequence f₁(n). For example, the generator polynomial of the first m-sequence is g(x)=x⁷+x⁴+1, and the recursion formula is c(n+7)=(c(n+4)+c(n))mod 2; and the generator polynomial of the second m-sequence is g(x)=x⁷+x⁴+1, and a recursion formula is f₁(n+7)=(f₁(n+4)+f₁(n))mod 2.

Optionally, the second local synchronization signal sequence may alternatively be generated in a manner of generating the first synchronization signal sequence in the foregoing embodiments. For details, refer to related descriptions in the foregoing embodiments. Details are not described herein again.

In this embodiment of this application, the user equipment processes the first receive signal and the second receive signal respectively by using the generated first local synchronization signal sequence and second local synchronization signal sequence that have a small correlation value, that is, the user equipment processes the first reception signal and the second reception signal respectively by using a local primary synchronization signal sequence and a local secondary synchronization signal sequence, to reduce a probability of false detection of a local secondary synchronization signal and a local primary synchronization signal, thereby improving performance of detecting the first receive signal and the second receive signal.

Referring to FIG. 8, another embodiment of a network device in the embodiments of this application includes a generation unit 801, a mapping unit 802, a sending unit 803:

The generation unit 801, configured to generate a first synchronization signal sequence and a second synchronization signal sequence, where the first synchronization signal sequence is a sequence obtained based on a first Gold sequence. The first Gold sequence is a sequence generated based on a first m-sequence and a second m-sequence. The second synchronization signal sequence is a sequence obtained based on a second Gold sequence. The second Gold sequence is a sequence generated based on a third m-sequence and a fourth m-sequence, generator polynomials of the first m-sequence and the third m-sequence are the same, generator polynomials of the second m-sequence and the fourth m-sequence are the same. A relative shift value between the first m-sequence and the second m-sequence is m₁, a relative shift value between the third m-sequence and the fourth m-sequence is m₂, m₁≠m₂(mod N), and the first m-sequence, the second m-sequence, the third m-sequence, and the fourth m-sequence each have a length of N;

The mapping unit 802, configured to: map the first synchronization signal sequence onto M subcarriers in a first time unit to obtain a first synchronization signal, and map the second synchronization signal sequence onto M subcarriers in a second time unit to obtain a second synchronization signal, where M and N are positive integers greater than 1; and

The sending unit 803, configured to send the first synchronization signal and the second synchronization signal.

Optionally, the first synchronization signal sequence is the sequence obtained based on the first Gold sequence, the first Gold sequence is the sequence generated based on a first m-sequence f₁(n) and a second m-sequence f₂(n). The second synchronization signal sequence is the sequence obtained based on the second Gold sequence, the second Gold sequence is the sequence generated based on a third m-sequence f₃(n) and a fourth m-sequence f₄(n), and the first Gold sequence, the first m-sequence, and the second m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, where y_(m,k)(n) is the first synchronization signal sequence, g_(m,k)(n) is the first Gold sequence, and the relative shift value between the first m-sequence and the second m-sequence is m₁. The second Gold sequence, the third m-sequence, and the fourth m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₃((n+m+k)mod N)+f₄((n+k)mod N))mod 2, where y_(m,k)(n) is the second synchronization signal sequence, g_(m,k)(n) is the second Gold sequence, and the relative shift value between the third m-sequence and the fourth m-sequence is m₂, where n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, and k is a cyclic shift value. The generator polynomials of the first m-sequence and the third m-sequence are the same and are g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), a_(K)=1, a₀=1, the generator polynomials of the second m-sequence and the fourth m-sequence are the same and are g₂(x)=Σ_(i=0) ^(K)b_(i)·x^(i), b_(K)=1, b₀=1, and m₁≠m₂(mod N) is satisfied.

Optionally, the first synchronization signal sequence satisfies y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), x₁(n)=1−2·f₁(n), x₂(n)=1−2·f₂(n), n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, where y_(m,k)(n) is the first synchronization signal sequence, f₁(n) is the first m-sequence, and f₂(n) is the second m-sequence.

It should be noted that the first synchronization signal sequence and the second synchronization signal sequence in this embodiment may be sequences described with reference to the foregoing embodiments.

For example, the first synchronization signal sequence s(n) satisfies s(n)=1−2·c(n), n=0,1,2, . . . , N−1, where c(n) is the first m-sequence. The generator polynomial of the first m-sequence {c(n)|n=0,1,2, . . . , N−1} is g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), where a_(K)=1, a₀=1, K is a positive integer greater than or equal to 1, and 0≤i≤K. c((n+K)mod N)=(Σ_(i=1) ^(K−1)a_(i)·c((n+i)mod N)+c(n))mod 2, n=0,1,2, . . . , N−K−1.

For another example, the second synchronization signal sequence y_(m,k)(n) satisfies y_(m,k)(n)=x₁((n+m+k)mod N)·x₂((n+k)mod N), where x₁(n)=1−2·f₁(n), x₂(n)=1−2·f₂(n), n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, f₁(n) is the second m-sequence, and f₂(n) is the third m-sequence. y_(m,k)(n) may also be represented as y_(m,k)(n)=[1−2·f₁((n+m+k)mod N)]·[1−2·f₂((n+k)mod N)]. For simplicity, m+k may be considered as k₁, that is, k₁=m+k. In this case, y_(m,k)(n) may also be represented as:

y_(m,k)(n)=[1−2·f₁((n+k₁)mod N)]·[1−2·f₂((n+k)mod N)], where n=0,1, . . . , N−1, k=0,1,2, . . . , N−1, k₁=0,1,2, . . . , 2(N−1), that is, n is an integer less than or equal to N−1, k is an integer less than or equal to N−1, and k₁ is an integer less than or equal to 2(N−1).

In this embodiment of this application, the network device generates the first synchronization signal sequence and the second synchronization signal sequence that have a small correlation value, namely, a primary synchronization signal sequence and a secondary synchronization signal sequence, to reduce cross-correlation between a secondary synchronization signal and a primary synchronization signal, thereby reducing interference caused to a primary synchronization signal by a secondary synchronization signal in another cell or in a local cell.

Referring to FIG. 9, another embodiment of user equipment in the embodiments of this application includes a receiving unit 901, a generation unit 902 and a processing unit 903.

The receiving unit 901 is configured to receive a first receive signal and a second receive signal.

The generation unit 902 is configured to generate local synchronization signal sequences, where the local synchronization signal sequences includes a first local synchronization signal sequence and a second local synchronization signal sequence. The first local synchronization signal sequence is a sequence obtained based on a first Gold sequence. The first Gold sequence is a sequence generated based on a first m-sequence and a second m-sequence. The second local synchronization signal sequence is a sequence obtained based on a second Gold sequence. The second Gold sequence is a sequence generated based on a third m-sequence and a fourth m-sequence. Generator polynomials of the first m-sequence and the third m-sequence are the same. Generator polynomials of the second m-sequence and the fourth m-sequence are the same. A relative shift value between the first m-sequence and the second m-sequence is m₁, and a relative shift value between the third m-sequence and the fourth m-sequence is m₂, where m₁≠m₂(mod N). The first m-sequence, the second m-sequence, the third m-sequence, and the fourth m-sequence each have a length of N, and N is a positive integer greater than 1.

The processing unit 903 is configured to process the first receive signal and the second receive signal based on the local synchronization signal sequence.

Optionally, the first local synchronization signal sequence is a sequence obtained based on the first Gold sequence, the first Gold sequence is the sequence generated based on the first m-sequence f₁(n) and the second m-sequence f₂(n). The second local synchronization signal sequence is a sequence obtained based on the second Gold sequence. The second Gold sequence is the sequence generated based on the third m-sequence f₃(n) and the fourth m-sequence f₄(n), and the first Gold sequence, the first m-sequence, and the second m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₁((n+m+k)mod N)+f₂((n+k)mod N))mod 2, where y_(m,k)(n) is the first synchronization signal sequence, g_(m,k)(n) is the first Gold sequence, and the relative shift value between the first m-sequence and the second m-sequence is m₁. The second Gold sequence, the third m-sequence, and the fourth m-sequence satisfy y_(m,k)(n)=1−2·g_(m,k)(n), g_(m,k)(n)=(f₃((n+m+k)mod N)+f₄((n+k)mod N))mod 2, where y_(m,k)(n) is the second synchronization signal sequence, g_(m,k)(n) is the second Gold sequence, and the relative shift value between the third m-sequence and the fourth m-sequence is m₂, where n=0,1,2, . . . , N−1, k=0,1,2, . . . , N−1, m=0,1,2, . . . , N−1, and k is a cyclic shift value. The generator polynomials of the first m-sequence and the third m-sequence are the same and are g₁(x)=Σ_(i=0) ^(K)a_(i)·x^(i), a_(K)=1, a₀=1, the generator polynomials of the second m-sequence and the fourth m-sequence are the same and are g₂(x)=Σ_(i=0) ^(K)b_(i)·x^(i), b_(K)=1, b₀=1, and m₁≠m₂(mod N) is satisfied.

It may be understood that, for the first local synchronization signal sequence, the second local synchronization signal sequence, the first m-sequence, the second m-sequence, the third m-sequence, and the like in this embodiment, refer to related descriptions in the foregoing embodiments.

In this embodiment of this application, the user equipment processes the first receive signal and the second receive signal respectively by using the generated first local synchronization signal sequence and second local synchronization signal sequence that have a small correlation value, that is, the user equipment processes the first reception signal and the second reception signal respectively by using a local primary synchronization signal sequence and a local secondary synchronization signal sequence, to reduce a probability of false detection of a local secondary synchronization signal and a local primary synchronization signal, thereby improving performance of detecting the first receive signal and the second receive signal.

Referring to FIG. 10, another embodiment of a network device in the embodiments of this application includes:

a generation unit 1001, configured to generate a first synchronization signal sequence and a second synchronization signal sequence, where the second synchronization signal sequence is a sequence obtained based on a first m-sequence and a second m-sequence. A relative shift value between the first m-sequence and the second m-sequence is m, a cyclic shift value is p, a value range of p does not include a cyclic shift value k strongly correlated to the first synchronization signal sequence, and the first m-sequence and the second m-sequence each have a length of N. A mapping unit 1002, configured to: map the first synchronization signal sequence onto M subcarriers in a first time unit to obtain a first synchronization signal, and map the second synchronization signal sequence onto M subcarriers in a second time unit to obtain a second synchronization signal, where M and N are positive integers greater than 1. A sending unit 1003, configured to send the first synchronization signal and the second synchronization signal.

In this embodiment of this application, the network device generates the first synchronization signal sequence and the second synchronization signal sequence that have a small correlation value, namely, a primary synchronization signal sequence and a secondary synchronization signal sequence, to reduce cross-correlation between a secondary synchronization signal and a primary synchronization signal, thereby reducing interference caused to a primary synchronization signal by a secondary synchronization signal in another cell or in a local cell.

Referring to FIG. 11, another embodiment of user equipment in the embodiments of this application includes a receiving unit 1101, a generation unit 1102 and a processing unit 1103:

The receiving unit 1101, configured to receive a first receive signal and a second receive signal. The generation unit 1102, configured to generate local synchronization signal sequences, where the local synchronization signal sequences includes a first local synchronization signal sequence and a second local synchronization signal sequence. The second local synchronization signal sequence is a sequence obtained based on a first m-sequence and a second m-sequence. A relative shift value between the first m-sequence and the second m-sequence is m, a cyclic shift value is p, a value range of p does not include a cyclic shift value k strongly correlated to the first synchronization signal sequence, the first m-sequence and the second m-sequence each have a length of N, and N is a positive integer greater than 1. The processing unit 1103, configured to process the first receive signal and the second receive signal based on the local synchronization signal sequence.

It may be understood that, for the first synchronization signal sequence, the second synchronization signal sequence, and the like in this embodiment, refer to related descriptions in the foregoing embodiments.

In this embodiment of this application, the user equipment processes the first receive signal and the second receive signal respectively by using the generated first local synchronization signal sequence and second local synchronization signal sequence that have a small correlation value, that is, the user equipment processes the first reception signal and the second reception signal respectively by using a local primary synchronization signal sequence and a local secondary synchronization signal sequence, to reduce a probability of false detection of a local secondary synchronization signal and a local primary synchronization signal, thereby improving performance of detecting the first receive signal and the second receive signal.

In the embodiments, the first synchronization signal is a primary synchronization signal, and the second synchronization signal is a secondary synchronization signal. The first local synchronization signal is a local primary synchronization signal, and the second local synchronization signal is a local secondary synchronization signal. The primary synchronization signal is used to determine basic time and frequency synchronization or a channel center. The secondary synchronization signal is used to determine cell identification information.

FIG. 6 to FIG. 11 describe the network device and the user equipment in the embodiments of this application in detail from a perspective of a modular function entity, and the following describes the network device and the user equipment in the embodiments of this application in detail from a perspective of hardware processing.

FIG. 12a is a schematic structural diagram of user equipment according to an embodiment of this application. Referring to FIG. 12 a, when an integrated unit is used, FIG. 12a is a possible schematic structural diagram of the user equipment in the foregoing embodiments. The user equipment 1200 includes a processing unit 1202 and a communications unit 1203. The processing unit 1202 is configured to control and manage an action of the user equipment. For example, the processing unit 1202 is configured to support the user equipment in performing step 201 and step 202 in FIG. 2, and/or configured to perform another process in a technology described in this specification. The communications unit 1203 is configured to support the user equipment in communicating with another network entity. The user equipment may further include a storage unit 1201, configured to store program code and data of the user equipment. Optionally, the storage unit 1201 may store various m-sequences, synchronization signal sequences, synchronization signals, generator polynomials, or recursion formulas mentioned in the foregoing embodiments, parameters used to generate the synchronization signals or the synchronization signal sequences, or the like.

The processing unit 1202 may be a processor or a controller, for example, may be a central processing unit (central processing unit, CPU), a general-purpose processor, a digital signal processor (digital signal processor, DSP), an application-specific integrated circuit (application-specific integrated circuit, ASIC), a field programmable gate array (field programmable gate array, FPGA) or another programmable logical device, a transistor logical device, a hardware component, or any combination thereof. The processing unit 1202 can implement or perform various examples of logic blocks, modules, and circuits described with reference to content disclosed in this application. The processor may also be a combination that implements a computation function, for example, including one or more microprocessors or a combination of a plurality of microprocessors, or a combination of a DSP and a microprocessor. The communications unit 1203 may be a communications interface, a transceiver, a transceiver circuit, or the like. The communications interface is a collective term, and may include one or more interfaces, for example, transceiver interfaces. The storage unit 1201 may be a memory.

When the processing unit 1202 is a processor, the communications unit 1203 is a communications interface, and the storage unit 1201 is a memory, the user equipment in this embodiment of this application may be user equipment shown in FIG. 12 b.

Referring to FIG. 12 b, the user equipment 1210 includes a processor 1212, a communications interface 1213, and a memory 1211. Optionally, the user equipment 1210 may further include a bus 1214. The communications interface 1213, the processor 1212, and the memory 1211 may be connected by using the bus 1214. The bus 1214 may be a peripheral component interconnect (peripheral component interconnect, PCI) bus, an extended industry standard architecture (extended industry standard architecture, EISA) bus, or the like. The bus 1214 may be classified into an address bus, a data bus, a control bus, and the like. For convenience of representation, only one bold line is used for representation in FIG. 12 b, but it does not indicate that there is only one bus or one type of bus. Optionally, the memory 1211 may store various m-sequences, synchronization signal sequences, synchronization signals, generator polynomials, or recursion formulas mentioned in the foregoing embodiments, parameters used to generate the synchronization signals or the synchronization signal sequences, or the like.

FIG. 13 is a schematic structural block diagram of a network device according to an embodiment of this application. Referring to FIG. 13, FIG. 13 is a schematic structural diagram of a network device according to an embodiment of this application. There may be a great difference for the network device 1300 due to different configurations or performance. The network device 1300 may include one or more central processing units (Central processing units, CPU) 1301 (for example, one or more processors), one or more memories 1309, and one or more storage media 1308 (for example, one or more mass storage devices) for storing application programs 1307 or data 1306. The memory 1309 and the storage medium 1308 may be transient storages or persistent storages. A program stored in the storage medium 1308 may include one or more modules (not shown), and each module may include a series of instruction operations in a server. Further, the processor 1301 may be configured to communicate with the storage medium 1308, and perform a series of instruction operations in the storage medium 1308 in the network device 1300. Optionally, the memory 1309 or the storage medium 1308 may store various m-sequences, synchronization signal sequences, synchronization signals, generator polynomials, or recursion formulas mentioned in the foregoing embodiments, parameters used to generate the synchronization signals or the synchronization signal sequences, or the like.

The network device 1300 may further include one or more power supplies 1302, one or more wired or wireless network interfaces 1303, one or more input/output interfaces 1304, and/or one or more operating systems 1305 such as Windows Server™, Mac OS X™, Unix™, Linux™, and FreeBSD™.

All or some of the foregoing embodiments may be implemented through software, hardware, firmware, or any combination thereof. When software is used to implement the embodiments, the embodiments may be implemented completely or partially in a form of a computer program product.

The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the procedures or functions according to the embodiments of this application are all or partially generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or another programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or may be transmitted from a computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line (DSL)) or wireless (for example, infrared, radio, or microwave) manner. The computer-readable storage medium may be any usable medium accessible by a computer, or a data storage device, such as a server or a data center, integrating one or more usable media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), a semiconductor medium (for example, a solid state disk (SSD)), or the like.

It may be clearly understood by persons skilled in the art that, for the purpose of convenient and brief description, for a detailed working process of the foregoing system, apparatus, and unit, refer to a corresponding process in the foregoing method embodiments. The foregoing embodiments may be referenced or supplemented to each other. Understanding is not affected and details are not described herein again.

In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the described apparatus embodiment is merely an example. For example, the unit division is merely logical function division and may be other division in actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented by using some interfaces. The indirect couplings or communication connections between the apparatuses or units may be implemented in electronic, mechanical, or other forms.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual requirements to achieve the objectives of the solutions of the embodiments.

In addition, functional units in the embodiments of this application may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in a form of hardware, or may be implemented in a form of a software functional unit.

When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, the integrated unit may be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of this application essentially, or the part contributing to the prior aft, or all or a part of the technical solutions may be implemented in the form of a software product. The software product is stored in a storage medium and includes several instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to perform all or a part of the steps of the methods described in the embodiments of this application. The foregoing storage medium includes: any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (read-only memory, ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disc.

The foregoing embodiments are merely intended for describing the technical solutions of this application, but not for limiting this application. Although this application is described in detail with reference to the foregoing embodiments, persons of ordinary skill in the art should understand that they may still make modifications to the technical solutions described in the foregoing embodiments or make equivalent replacements to some technical features thereof, without departing from the spirit and scope of the technical solutions of the embodiments of this application. 

1.-3. (canceled)
 4. A method for wireless communication, comprising: obtaining a first synchronization sequence s(n); obtaining a second synchronization signal sequence y(n) that satisfies: y(n)=[1−2·f ₁((n+k ₁)mod 127)]·[1−2·f ₂((n+k)mod 127)], where n is an integer, n=0,1, . . . 126, k is an integer and k<127, and k₁ is an integer and k₁<253; generating a primary synchronization signal based on the first synchronization signal sequence; and generating a secondary synchronization signal based on the second synchronization signal sequence.
 5. The method according to claim 4, wherein the first synchronization sequence s(n) is based on a first sequence c(n), and a recursion formula of the sequence c(n) satisfies: c(n+7)=(c(n+4)+c(n))mod
 2. 6. The method according to claim 5, wherein one of sequences f₁(n) or f₂(n) has a same recursion formula as the sequence c(n).
 7. The method according to claim 5, wherein the sequence c(n) satisfies: {c(6), c(5), c(4), c(3), c(2), c(1), c(0)}={1,1,1,0,1,1,0}.
 8. The method according to claim 5, wherein the sequence c(n) is: {1 1 1 1 1 1 0 0 0 0 1 1 1 0 1 1 1 1 0 0 1 0 1 1 0 0 1 0 0 1 0 0 0 1 0 0 1 1 0 0 0 1 0 1 1 1 0 1 0 1 1 0 1 1 0 0 0 0 0 1 1 0 0 1 1 0 1 0 1 0 0 1 1 1 0 0 1 1 1 0 0 1 1 1 1 0 1 1 0 1 0 0 0 0 1 0 1 0 1 0 1 1 1 1 1 0 1 0 0 1 0 1 0 0 1 1 1 0 0 1 1 1 1 0 1 1 0}.
 9. The method according to claim 5, wherein the first synchronization sequence s(n) satisfies one of: s(n)=1−2·c((n)mod 127); s(n)=1−2·c((n+43)mod 127); or s(n)=1−2·c((n+86)mod 127).
 10. The method according to claim 4, wherein the first synchronization sequence s(n) is: {−1−1−1−1−1−1 1 1 1 1−1−1−1 1−1−1−1−1 1 1−1 1−1−1 1 1−1 1 1−1 1 1 1−1 1 1−1−1 1 1 1−1 1−1−1−1 1−1 1−1−1 1−1−1 1 1 1 1 1−1−1 1 1−1−1 1−1 1−1 1 1−1−1−1 1 1−1−1−1 1 1−1−1−1−1 1−1−1 1−1 1 1 1 1−1 1−1 1−1 1−1−1−1−1−1 1−1 1 1−1 1−1 1 1−1−1−1 1 1−1−1−1−1 1−1−1 1}.
 11. The method according to claim 4, wherein a generator polynomial of one of the sequences f₁(n) and f₂(n) is g(x)=x⁷+x⁴+1.
 12. The method according to claim 4, further comprising: transmitting the primary synchronization signal; and transmitting the secondary synchronization signal.
 13. A device for wireless communication, comprising: a processing unit, configured to obtain a first synchronization sequence s(n); the processing unit further configured to obtain a second synchronization signal sequence y(n) that satisfies: y(n)=[1−2·f ₁((n+k ₁)mod 127)]·[1−2·f ₂((n+k)mod 127)], wherein n is an integer, n=0,1, . . . 126, k is an integer and k<127, and k₁ is an integer and k₁<253; a generating unit, configured to generate a primary synchronization signal based on the first synchronization signal sequence; and the generating unit further configured to generate a secondary synchronization signal based on the second synchronization signal sequence.
 14. The device according to claim 13, wherein the first synchronization sequence s(n) is based on a first sequence c(n), and a recursion formula of the sequence c(n) satisfies: c(n+7)=(c(n+4)+c(n))mod
 2. 15. The device according to claim 14, wherein one of sequences f₁(n) or f₂(n) has a same recursion formula as the sequence c(n).
 16. The device according to claim 14, wherein the sequence c(n) satisfies: {c(6), c(5), c(4), c(3), c(2), c(1), c(0)}={1,1,1,0,1,1,0}.
 17. The device according to claim 14, wherein the sequence c(n) is: {1 1 1 1 1 1 0 0 0 0 1 1 1 0 1 1 1 1 0 0 1 0 1 1 0 0 1 0 0 1 0 0 0 1 0 0 1 1 0 0 0 1 0 1 1 1 0 1 0 1 1 0 1 1 0 0 0 0 0 1 1 0 0 1 1 0 1 0 1 0 0 1 1 1 0 0 1 1 1 0 0 1 1 1 1 0 1 1 0 1 0 0 0 0 1 0 1 0 1 0 1 1 1 1 1 0 1 0 0 1 0 1 0 0 1 1 1 0 0 1 1 1 1 0 1 1 0}.
 18. The device according to claim 14, wherein the first synchronization sequence s(n) satisfies one of: s(n)=1−2·c((n)mod 127); s(n)=1−2·c((n+43)mod 127); or s(n)=1−2·c((n+86)mod 127).
 19. The device according to claim 13, wherein the first synchronization sequence s(n) is: {−1−1−1−1−1−1 1 1 1 1−1−1−1 1−1−1−1−1 1 1−1 1−1−1 1 1−1 1 1−1 1 1 1−1 1 1−1−1 1 1 1−1 1−1−1−1 1−1 1−1−1 1−1−1 1 1 1 1 1−1−1 1 1−1−1 1−1 1−1 1 1−1−1−1 1 1−1−1−1 1 1−1−1−1−1 1−1−1 1−1 1 1 1 1−1 1−1 1−1 1−1−1−1−1−1 1−1 1 1−1 1−1 1 1−1−1−1 1 1−1−1−1−1 1−1−1 1}.
 20. The device according to claim 13, wherein a generator polynomial of one of the sequences f₁(n) and f₂(n) is g(x)=x⁷+x⁴+1.
 21. The device according to claim 13, further comprising: a transmitting unit, configured to transmit the primary synchronization signal; and the transmitting unit further configured to transmit the secondary synchronization signal.
 22. A non-transitory computer-readable medium, comprising instructions, that when executed by one or more processors, cause the one or more processors to perform the steps of: obtain a first synchronization sequence s(n); obtain a second synchronization signal sequence y(n) that satisfies: y(n)=[1−2·f ₁((n+k ₁)mod 127)]·[1−2·f ₂((n+k)mod 127)], where n is an integer, n=0,1, . . . 126, k is an integer and k<127, and k₁ is an integer and k₁<253; generate a primary synchronization signal based on the first synchronization signal sequence; and generate a secondary synchronization signal based on the second synchronization signal sequence.
 23. The non-transitory computer-readable medium according to claim 22, wherein the first synchronization sequence s(n) is based on a first sequence c(n), and a recursion formula of the sequence c(n) satisfies: c(n+7)=(c(n+4)+c(n))mod
 2. 24. The non-transitory computer-readable medium according to claim 23, wherein one of sequences f₁(n) or f₂(n) has a same recursion formula as the sequence c(n).
 25. The non-transitory computer-readable medium according to claim 23, wherein the sequence c(n) satisfies: {c(6), c(5), c(4), c(3), c(2), c(1), c(0)}={1,1,1,0,1,1,0}.
 26. The non-transitory computer-readable medium according to claim 23, wherein the sequence c(n) is: {1 1 1 1 1 1 0 0 0 0 1 1 1 0 1 1 1 1 0 0 1 0 1 1 0 0 1 0 0 1 0 0 0 1 0 0 1 1 0 0 0 1 0 1 1 1 0 1 0 1 1 0 1 1 0 0 0 0 0 1 1 0 0 1 1 0 1 0 1 0 0 1 1 1 0 0 1 1 1 0 0 1 1 1 1 0 1 1 0 1 0 0 0 0 1 0 1 0 1 0 1 1 1 1 1 0 1 0 0 1 0 1 0 0 1 1 1 0 0 1 1 1 1 0 1 1 0}.
 27. The non-transitory computer-readable medium according to claim 23, wherein the first synchronization sequence s(n) satisfies one of: s(n)=1−2·c((n)mod 127); s(n)=1−2·c((n+43)mod 127); or s(n)=1−2·c((n+86)mod 127).
 28. The non-transitory computer-readable medium according to claim 22, wherein the first synchronization sequence s(n) is: {−1−1−1−1−1−1 1 1 1 1−1−1−1 1−1−1−1−1 1 1−1 1−1−1 1 1−1 1 1−1 1 1 1−1 1 1−1−1 1 1 1−1 1−1−1−1 1−1 1−1−1 1−1−1 1 1 1 1 1−1−1 1 1−1−1 1−1 1−1 1 1−1−1−1 1 1−1−1−1 1 1−1−1−1−1 1−1−1 1−1 1 1 1 1−1 1−1 1−1 1−1−1−1−1−1 1−1 1 1−1 1−1 1 1−1−1−1 1 1−1−1−1−1 1−1−1 1}.
 29. The non-transitory computer-readable medium according to claim 22, wherein a generator polynomial of one of the sequences f₁(n) and f₂(n) is g(x)=x⁷+x⁴+1.
 30. The non-transitory computer-readable medium according to claim 22, comprising further instructions, that when executed by the one or more processors, cause the one or more processors to perform the steps of: transmit the primary synchronization signal; and transmit the secondary synchronization signal. 